mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-23 20:44:58 +08:00
24 lines
476 B
TypeScript
24 lines
476 B
TypeScript
![]() |
import { fileURLToPath, URL } from 'node:url'
|
||
|
|
||
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
base: '/medical/',
|
||
|
plugins: [vue()],
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||
|
}
|
||
|
},
|
||
|
css:{
|
||
|
preprocessorOptions:{
|
||
|
scss:{
|
||
|
// additionalData: '@import "./src/assets/css/global.scss";' //引入scss文件
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
})
|