青鸟ai,pc版仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
379 B

import { join, resolve } from 'node:path'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), UnoCSS()],
server: {
host: '0.0.0.0',
},
resolve: {
// 配置路径别名
alias: {
'@': join(__dirname, 'src'),
},
},
})