DCFronted/vite.config.js
zyb 8e052811e3 v1.5更新
事务大厅以此为准;
2025-05-16 19:18:36 +08:00

16 lines
277 B
JavaScript

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: 80,
open: true
}
})