mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-09-06 11:41:16 +00:00
testing something...
This commit is contained in:
21
src/static/app/vite.config.js
Normal file
21
src/static/app/vite.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
}
|
||||
},
|
||||
server:{
|
||||
proxy: {
|
||||
'/': 'http://178.128.231.4:10086/'
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user