feat(admin): add Vue3 admin frontend

This commit is contained in:
bwstudio
2026-05-21 21:34:09 +08:00
parent 621a239af5
commit 89fa43d5fa
19 changed files with 712 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
port: 3001,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true
}
}
}
})