Skip to content

Commit

Permalink
#7 Add CI configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
xiezl committed Apr 18, 2020
1 parent 79ef80c commit ed2c203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ function resolve(dir) {
}

module.exports = {
publicPath: './',
// publicPath: './',
publicPath: process.env.NODE_ENV === 'production' ? '/cool-website' : './',
outputDir: 'dist',
devServer: {
open: true, // Automatically pop up the browser page
Expand Down

0 comments on commit ed2c203

Please sign in to comment.