mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-11 01:15:54 +00:00
22 lines
385 B
JavaScript
22 lines
385 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://127.0.0.1:9009',
|
|
},
|
|
},
|
|
plugins: [
|
|
vue(),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
}
|
|
})
|