Files
yx-nav/frontend/vite.config.ts
T
Agent b37140f16c feat: 初始化 yx-nav 网址导航项目
- 技术栈: Vue3+TS+Vite + Express+SQLite
- 前台: 分类导航页、搜索、访问统计
- 后台: 仪表盘、网址CRUD、分类管理、站点配置
- 默认账号: admin / admin123
2026-07-14 14:26:45 +08:00

10 lines
318 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
export default defineConfig({
plugins: [vue()],
resolve: { alias: { '@': resolve(__dirname, 'src') } },
server: { port: 5173, proxy: { '/api': { target: 'http://localhost:3000', changeOrigin: true } } },
})