报错space-before-function-paren修改配置文件 .eslintrc.js后重启生效
Vue 模板中使用的注释应该是 <!-- 注释内容 -->
,而不是 //
打开一个项目:PS D:\vueworkspace\vs_workspace\hellovue(项目路径)> npm run dev
检查一下index.js下的import正确吗
<html> element must have a lang attribute: The <html> element does not have the "lang" attribute.解决方法:在 <html>
标签上添加 lang
属性,并指定相应的语言值:
<html lang="zh-CN"> <!-- 页面内容 --> </html>
lang:language
在 main.js
文件中无法找到 element-ui
模块和其对应的样式文件 element-ui/lib/theme-chalk/index.css
运行npm install --save element-ui安装时要在项目目录下