mirror of
https://github.com/tl-open-source/tl-rtc-file.git
synced 2025-10-07 16:31:28 +08:00
18 lines
341 B
JavaScript
18 lines
341 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server:{
|
|
proxy:{
|
|
'/api': 'http://localhost:9092'
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
}
|
|
})
|