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 ed2c203 commit 161b3d7
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 @@ -7,7 +7,8 @@ function resolve(dir) {
module.exports = {
// publicPath: './',
publicPath: process.env.NODE_ENV === 'production' ? '/cool-website' : './',
outputDir: 'dist',
outputDir: process.env.NODE_ENV === 'production' ? 'doc' : 'dist',
// outputDir: 'dist',
devServer: {
open: true, // Automatically pop up the browser page
https: false, // Do not use https protocol
Expand Down

0 comments on commit 161b3d7

Please sign in to comment.