Skip to content

Commit

Permalink
Update vue.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangqingliu88 authored Dec 15, 2024
1 parent 599a602 commit c2f570f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vue.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
js
module.exports = {
publicPath: './',
}
publicPath: process.env.NODE_ENV === 'production'
? '/vue3_eman_server/' // 用你的仓库名替换 'your-repo-name'
: './'
};

0 comments on commit c2f570f

Please sign in to comment.