"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
execute: npm run serve
:npm run build
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
execute: npm run serve
:npm run build
this is a normal phenomenon.
yarn run serve
is the development environment, so all kinds of packages are not optimized. All content is in app.js
yarn run build
is a production package, and various optimizations are enabled, especially when tree shaking, splits dependencies into different js, so the size of app.js will be much smaller
...
...
dist files generated by the latest version of scaffolding index.html404 ...
because the third-party package uses syntax that is not supported by strict mode such as callee, and the scaffolding has its own strict mode, try to configure the following in package.json, and try to configure it in vue.config.js, but it is not reali...