您的位置:首页 > Web前端 > Vue.js

Vue开发爬坑记录

2018-07-11 11:43 148 查看

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:.....

使用了关键字或者保留字.修改即可.

 

 慢慢爬...

 


                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: