引入前端界面

This commit is contained in:
xxx
2024-06-05 16:15:38 +08:00
parent e97f0318e6
commit f5047edd91
367 changed files with 29746 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import gzipPlugin from "rollup-plugin-gzip";
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: "0.0.0.0",
port: 3000,
},
plugins: [react()],
build: {
rollupOptions: {
plugins: [gzipPlugin()],
},
},
});