Skip to content

Commit

Permalink
修正 site 构建时的 base 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
BiosSun committed May 23, 2022
1 parent 9005b46 commit 849847f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export default defineConfig(({ mode }) => {

break
case 'site':
config.base = '/vue3-time-range-slider/';

config.build = {
outDir: 'site',
}
Expand Down

0 comments on commit 849847f

Please # to comment.