【Error report】
error ‘Vue‘ is defined but never used no-unused-vars
【reason】
If variables are defined in the vue scaffolding but are not used, an error will be reported when running.
【Solution】
(1) Add "no-unused-vars": "off" to the rules configuration item of package.json , as shown below
(2) Then re-run npm run serve in the terminal