yl-frontend/vite.config.ts

13 lines
231 B
TypeScript
Raw Normal View History

2024-12-05 21:56:49 +08:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
2024-12-06 00:18:16 +08:00
import path from 'path'
2024-12-05 21:56:49 +08:00
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
2024-12-06 00:18:16 +08:00
'@': path.resolve(__dirname, './src')
2024-12-05 21:56:49 +08:00
}
}
})