RMO-Front/vite.config.ts

18 lines
347 B
TypeScript
Raw Normal View History

2026-02-11 14:07:01 +08:00
import { defineConfig } from 'vite'
2026-02-11 22:46:36 +08:00
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
2026-02-11 14:07:01 +08:00
// https://vitejs.dev/config/
export default defineConfig({
2026-02-11 22:46:36 +08:00
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
2026-02-11 14:07:01 +08:00
server: {
port: 3000,
open: true
}
})