diff --git a/vue.config.js b/vue.config.js index 65ff1a5..f211e8a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,6 +1,6 @@ module.exports = { outputDir: './docs/', - publicPath: '/history-of-robotics/', + publicPath: process.env.NODE_ENV === 'production' ? '/history-of-robotics/' : '/', chainWebpack: config => { config.module .rule('vue')