Skip to content

Commit f6792ab

Browse files
committed
Update vite.config.ts to configure base path for classisland-hub-web deployment
1 parent bfa37ea commit f6792ab

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

vite.config.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ import vueDevTools from 'vite-plugin-vue-devtools'
77

88
// https://vitejs.dev/config/
99
export default defineConfig({
10-
plugins: [
11-
vue(),
12-
vueJsx(),
13-
vueDevTools(),
14-
],
10+
plugins: [vue(), vueJsx(), vueDevTools()],
11+
base: '/classisland-hub-web/', // 确保这里的路径与您的仓库名称匹配
1512
resolve: {
1613
alias: {
1714
'@': fileURLToPath(new URL('./src', import.meta.url))

0 commit comments

Comments
 (0)