fix: move admin and web to correct locations

This commit is contained in:
bwstudio
2026-05-21 21:45:31 +08:00
parent 89fa43d5fa
commit 7f51d200f1
36 changed files with 566 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: 3000,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true
}
}
}
})