fix: 优化代码

This commit is contained in:
Daniel
2026-03-08 00:19:29 +08:00
parent 321fad8a0d
commit 7d7f13d009
19 changed files with 1534 additions and 388 deletions

17
vite.config.mjs Normal file
View File

@@ -0,0 +1,17 @@
import { defineConfig } from 'vite';
export default defineConfig({
root: '.',
publicDir: 'public',
build: {
outDir: 'dist',
emptyOutDir: true,
rollupOptions: {
input: 'index.html',
},
},
server: {
port: 5173,
strictPort: false,
},
});