feat: web frontend; middleware; serde (WIP?)

This commit is contained in:
imxyy1soope1 committed 2025-11-30 17:39:16 +08:00
1 parent be35040e26
commit 531ac029af
45 files changed
+6806 -82

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from 'vite';
import solid from 'vite-plugin-solid';
export default defineConfig({
plugins: [solid()],
base: '/admin/',
build: {
outDir: 'dist',
assetsDir: 'assets',
sourcemap: false,
minify: 'terser',
},
server: {
proxy: {
'/admin/api': {
target: 'http://localhost:8080',
changeOrigin: true,
}
}
}
});