Skip to content
Snippets Groups Projects
Commit 80a28173 authored by Pan's avatar Pan
Browse files

refine assets path config

parent f1aa01a2
Branches
Tags
No related merge requests found
......@@ -7,9 +7,9 @@ module.exports = {
prodEnv: require('./prod.env'),
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: '',
assetsPublicPath: './', //生产环境assetsPublicPath: '/'
staticPath:'./', //生产环境 staticPath:''
assetsSubDirectory: 'static',
assetsPublicPath: '/',
staticPath:'./',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment