Skip to content

Commit

Permalink
Update vite.config.ts to configure base path for classisland-hub-web …
Browse files Browse the repository at this point in the history
…deployment
  • Loading branch information
hello8693 committed Oct 7, 2024
1 parent bfa37ea commit f6792ab
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ import vueDevTools from 'vite-plugin-vue-devtools'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
vueJsx(),
vueDevTools(),
],
plugins: [vue(), vueJsx(), vueDevTools()],
base: '/classisland-hub-web/', // 确保这里的路径与您的仓库名称匹配
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
Expand Down

0 comments on commit f6792ab

Please sign in to comment.