mirror of
https://github.com/Xevion/history-of-robotics.git
synced 2025-12-06 03:15:17 -06:00
fix publicPath incorrect on local dev server
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
outputDir: './docs/',
|
outputDir: './docs/',
|
||||||
publicPath: '/history-of-robotics/',
|
publicPath: process.env.NODE_ENV === 'production' ? '/history-of-robotics/' : '/',
|
||||||
chainWebpack: config => {
|
chainWebpack: config => {
|
||||||
config.module
|
config.module
|
||||||
.rule('vue')
|
.rule('vue')
|
||||||
|
|||||||
Reference in New Issue
Block a user