Skip to content

Commit

Permalink
fix:修改base参数
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohubai committed Apr 28, 2023
1 parent ed8ebbe commit a016201
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import vue from '@vitejs/plugin-vue'

export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd())
console.log(env.VITE_BASE_NAME)
return {
base: env.VITE_BASE_NAME,
base: '/vue-ts-layout/',
resolve: {
alias: {
'@': __dirname + '/src',
Expand Down

0 comments on commit a016201

Please sign in to comment.