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:.....
使用了關鍵字或者保留字.修改便可.
慢慢爬...