Vue开发爬坑记录

1.使用eslint代码检查时,常见的的错误:ide

1.1 Expected indentation of 0 spaces but found 1ui

前面的空格个数不对.应该不能有空格.spa

 1.2 Strings must use singlequoteeslint

  必须使用单引号blog

 1.3The template root requires exactly one elementip

<template>标签下必须有个根标签element

 

 2.it

There are multiple modules with names that only differ in casing.io

This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.class

Use equal casing. Compare these module identifiers:.....

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

 

 慢慢爬...

相关文章
相关标签/搜索