摘要:
vue-cli3.0下:在vue.config里设置publicPath:‘/’ vue-cli2.x下:在config/index里设置assetsPublicPath:‘/’ 阅读全文
摘要:
在webpack.prod.conf文件下new UglifyJsPlugin({ uglifyOptions: { compress: { warnings: false, drop_debugger: true, drop_console: true } }}), 阅读全文