refactor(web): migrate from Next.js to Vite + React Router

This commit is contained in:
RockChinQ
2026-04-03 11:24:14 +08:00
parent e701daa8e0
commit 2a4ba237c4
1441 changed files with 917663 additions and 3671 deletions
+18
View File
@@ -0,0 +1,18 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
port: 3000,
},
build: {
outDir: 'dist',
},
});