VUE
varz
每天改变一点。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
antdv-pro使用-新增组件步骤
官方教程:https://pro.antdv.com/docs/new-component 第一步:新增组件文件 在components下新建文件夹,在文件夹下新建Test.vue <template> <div>测试参数传输{{ data }}</div> </template> <script> export default { name: 'Test', props: { data: {原创 2021-10-04 13:26:12 · 898 阅读 · 0 评论 -
报错:Expected indentation of 0 spaces but found 2
报错:Expected indentation of 0 spaces but found 2 解决方案:在.eslintrc.js文件中的,rules下添加"indent": ["off", 2]。 参考教程:https://www.jianshu.com/p/a76f74feff49原创 2020-03-24 16:04:25 · 1126 阅读 · 0 评论 -
Ant Design Pro在使用某些Ant Design Vue的组件时,报错未注册
报错 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option. 简单测试,发现树型选择控件(TreeSelect)、穿梭框(Transfer)是没有预加的。 解决...原创 2020-04-26 17:19:40 · 2465 阅读 · 0 评论 -
在webstorm上调试vue代码
1、进入调试配置 2、新建JavaScript调试配置,并设置要访问的url地址(示例: http://localhost:8081),保存如下图所示: 3、在Terminal内启动项目:npm run dev 4、再启动debug,会启动谷歌浏览器。(如果浏览器页面没有正常显示网页 手动补全url就好) 5、开始调试,在要测试代码的前面点出红点,当程序运行到该行就可以拦截。 6、EN...原创 2020-04-03 17:47:57 · 6071 阅读 · 4 评论
分享