This commit is contained in:
pangxie1991
2017-03-27 18:40:11 +08:00
parent 5724e49a02
commit 8f91cd0cb7
2 changed files with 1 additions and 8 deletions

View File

@@ -168,7 +168,7 @@ if (process.env.NODE_ENV === 'production') {
delete module.exports.devtool;
module.exports.output = {
path: path.join(__dirname, '../docs/dist'),
publicPath: './',
publicPath: '/vue',
filename: '[name].[hash:8].js'
};
module.exports.plugins = module.exports.plugins.concat([