2022-12-27 10:13:24 +08:00
|
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2022-12-27 10:32:45 +08:00
|
|
|
plugins: [vue()],
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
|
|
},
|
|
|
|
},
|
2022-12-28 17:40:30 +08:00
|
|
|
server: {
|
|
|
|
port: 8888,
|
|
|
|
},
|
2022-12-27 10:13:24 +08:00
|
|
|
})
|