This commit is contained in:
2026-04-01 19:41:47 +08:00
parent b369abf7cc
commit 624268216d
13 changed files with 901 additions and 219 deletions
+6
View File
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path';
// https://vite.dev/config/
export default defineConfig({
@@ -10,4 +11,9 @@ export default defineConfig({
],
},
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'), // 实际上使用了,但可能没被检测到
},
},
})