fixed webpack public path

This commit is contained in:
vabene1111
2021-10-14 12:20:31 +02:00
parent ba60fbdbb6
commit df31f7388e
4 changed files with 6 additions and 4 deletions

View File

@ -48,7 +48,7 @@ module.exports = {
filenameHashing: false,
productionSourceMap: false,
publicPath: process.env.NODE_ENV === 'production'
? ''
? '/static/vue'
: 'http://localhost:8080/',
outputDir: '../cookbook/static/vue/',
runtimeCompiler: true,