web-font/vite.config.ts
崮生(子虚) 53d170dc90 feat: 前端迁移至 Vue3 + TS,后端构建迁移至 tsdown
- 前端从 SolidJS 迁移到 Vue3 Composition API(<script setup lang="ts">)
- 后端构建从 tsup 迁移到 tsdown,动态 import 改为静态以支持单文件输出
- FontSelector 添加 defineProps 修复下拉无选项问题
- StatsPanel 添加"服务状态"标题

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 20:46:30 +08:00

17 lines
350 B
TypeScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { pilot } from "vite-plugin-pilot";
export default defineConfig({
plugins: [vue(), pilot({ locale: "zh" })],
server: {
host: "0.0.0.0",
proxy: {
"/api": {
target: "http://localhost:8087",
changeOrigin: true,
},
},
},
});