Skip to content

Commit 211531a

Browse files
committed
build: update publicPath
1 parent 34fd9fe commit 211531a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vue.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
const { defineConfig } = require('@vue/cli-service')
22
module.exports = defineConfig({
3+
publicPath:
4+
process.env.NODE_ENV === 'production' ? '/demos/vue/4.2/free/' : '/',
35
transpileDependencies: true,
46
})

0 commit comments

Comments
 (0)