添加关闭eslint配置
This commit is contained in:
parent
19a2fca796
commit
d74624c94c
|
|
@ -26,6 +26,8 @@ module.exports = {
|
||||||
baseUrl: BASE_URL,
|
baseUrl: BASE_URL,
|
||||||
// tweak internal webpack configuration.
|
// tweak internal webpack configuration.
|
||||||
// see https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md
|
// see https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md
|
||||||
|
// 如果你不需要使用eslint,把lintOnSave设为false即可
|
||||||
|
lintOnSave: true,
|
||||||
chainWebpack: config => {
|
chainWebpack: config => {
|
||||||
config.resolve.alias
|
config.resolve.alias
|
||||||
.set('@', resolve('src')) // key,value自行定义,比如.set('@@', resolve('src/components'))
|
.set('@', resolve('src')) // key,value自行定义,比如.set('@@', resolve('src/components'))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue