Skip to content

Commit

Permalink
chore: assetsPublicPath
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Jun 4, 2018
1 parent a48d38d commit fb32462
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,14 @@ module.exports = {
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',

// you can set by youself according to actual condition
assetsPublicPath: './',
/**
* You can set by youself according to actual condition
* You will need to set this if you plan to deploy your site under a sub path,
* for example GitHub pages. If you plan to deploy your site to https://foo.github.io/bar/,
* then assetsPublicPath should be set to "/bar/".
* In most cases please use '/' !!!
*/
assetsPublicPath: '/vueAdmin-template/', // If you are deployed on the root path, please use '/'

/**
* Source Maps
Expand Down

0 comments on commit fb32462

Please sign in to comment.