Skip to content

Commit

Permalink
修改配置解决发布问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexiangjys committed May 6, 2019
1 parent 2629b67 commit b1a7515
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ npm run dev
# preview for production at http://localhost:1111
npm run preview

# package
npm run build:prod

```

## 界面预览
Expand Down
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: '/',
publicPath: './',
outputDir: 'dist',
assetsDir: 'static',
lintOnSave: false,
Expand Down

0 comments on commit b1a7515

Please sign in to comment.