feat: 初始化 yx-nav 网址导航项目
- 技术栈: Vue3+TS+Vite + Express+SQLite - 前台: 分类导航页、搜索、访问统计 - 后台: 仪表盘、网址CRUD、分类管理、站点配置 - 默认账号: admin / admin123
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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 } } },
|
||||
})
|
||||
Reference in New Issue
Block a user