Vue项目打包
1.打包优化 --report npm run build --report 两个-// 根目录创建vue.config.js
module.exports = {
configureWebpack: {
externals: {
vue: "Vue",
"vue-router": "VueRouter",
vant: "vant"
}
}
};
2.页面刷新404// experss 操作
var history = require('connect-history-api-fal...