完善文档与前端迁移,补充开源协议

This commit is contained in:
2026-04-17 19:48:13 +08:00
parent 466fa50aa8
commit 31916e68a6
94 changed files with 7019 additions and 480 deletions

View File

@@ -9,15 +9,7 @@ export default defineConfig(({ mode }) => {
return {
envDir, // Tell Vite to look for .env files in the project root
plugins: [
react(),
{
name: 'html-transform',
transformIndexHtml(html) {
return html.replace(/%VITE_ESA_PREFIX%/g, env.VITE_ESA_PREFIX || '')
},
}
],
plugins: [react()],
server: {
host: '0.0.0.0',
port: 3000,