Vue — error report after deleting helloworld.vue

Time:2021-7-2

errors potentially fixable with the --fixSolution of option error report

The solution is

① Find the. Eslintrc. JS folder in the project code and comment out ‘@ Vue / standard’ in extensions

Before revision

```html
module.exports  = {

root:  true,

env: {

node:  true

},

extends: [

'plugin:vue/essential',

'@vue/standard'

],

parserOptions: {

parser:  'babel-eslint'

},

rules: {

'no-console':  process.env.NODE_ENV  ===  'production'  ?  'warn'  :  'off',

'no-debugger':  process.env.NODE_ENV  ===  'production'  ?  'warn'  :  'off'

}

}

After modification:

module.exports  = {

root:  true,

env: {

node:  true

},

extends: [

'plugin:vue/essential',

//'@vue/standard'

],

parserOptions: {

parser:  'babel-eslint'

},

rules: {

'no-console':  process.env.NODE_ENV  ===  'production'  ?  'warn'  :  'off',

'no-debugger':  process.env.NODE_ENV  ===  'production'  ?  'warn'  :  'off'

}

}

This work adoptsCC agreementReprint must indicate the author and the link of this article

Recommended Today

Swift advanced (XV) extension

The extension in swift is somewhat similar to the category in OC Extension can beenumeration、structural morphology、class、agreementAdd new features□ you can add methods, calculation attributes, subscripts, (convenient) initializers, nested types, protocols, etc What extensions can’t do:□ original functions cannot be overwritten□ you cannot add storage attributes or add attribute observers to existing attributes□ cannot add parent […]