
CodePudding user response:
The solutionTake temporary solution:
Find your project folder YourProName \ node_modules \ vue - loader \ lib \ template - the compiler \ index js
//add the following code
if (! IsProduction) {
Code=prettier. The format (code, {semi: false, the parser: "Babylon"})
}
//is amended as:
if (! IsProduction) {
Code=prettier. The format (code, {semi: false, the parser: "Babel"})
}
CodePudding user response:

But there are still problems
CodePudding user response:
Run the command is wrong, NPM start dev, dev I write the project name