摘要: 下载两个插件: 1、ESLint 2、Vetur 格式化快捷键: shift + alt + f 阅读全文
posted @ 2020-01-06 15:35 幸福安康 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1、做成一个组件: src\components\solution.vue 2、其他vue文件中引用: 阅读全文
posted @ 2020-01-06 13:12 幸福安康 阅读(468) 评论(0) 推荐(0) 编辑
摘要: Vue3.0 console.log()语法报错解决方法1只需要改成window.console.log() 即可解决如window.console.log(error);解决方法2打开:package.json 文件,找到eslintConfig 在rules 规则中增加“no-console”: 阅读全文
posted @ 2020-01-06 10:25 幸福安康 阅读(1171) 评论(0) 推荐(1) 编辑