A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8800
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
config目录下的index.js文件 assetsPublicPath: https://xxx.xxx.com/
build目录下的utils.js.js文件 publicPath: https://jscdn.xxx.com/
build目录下的webpack.base.js文件 publicPath: https://cdn.xxx.com/
浏览方式:http://localhost:8800/test.html