1.使用eslint代码检查时,常见的的错误:
1.1 Expected indentation of 0 spaces but found 1
前面的空格个数不对.应该不能有空格.
1.2 Strings must use singlequote
必须使用单引号
1.3The template root requires exactly one element
<template>标签下必须有个根标签
2.
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:.....
使用了关键字或者保留字.修改即可.
3.使用VScode的打开浏览器插件,无法打开浏览器:
新安装了个open in browser,使用时无法使用,无法打开,在VSCode的设置里面搜索 open-in-browser.default,在出现的界面中填写浏览器即可。如
慢慢爬...