Skip to content

Commit d2b13d7

Browse files
author
Michael William Le Nguyen
committed
Set public path based on environment
1 parent af59ce4 commit d2b13d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vue.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
publicPath: process.env.NODE_ENV === 'production' ? '/display/' : '/'
3+
}

0 commit comments

Comments
 (0)