23 lines
921 B
JavaScript
23 lines
921 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
'@Components': fileURLToPath(new URL('./src/components', import.meta.url)),
|
|
'@Holos': fileURLToPath(new URL('./src/components/Holos', import.meta.url)),
|
|
'@Layouts': fileURLToPath(new URL('./src/layouts', import.meta.url)),
|
|
'@Lang': fileURLToPath(new URL('./src/lang', import.meta.url)),
|
|
'@Pages': fileURLToPath(new URL('./src/pages', import.meta.url)),
|
|
'@Plugins': fileURLToPath(new URL('./src/plugins', import.meta.url)),
|
|
'@Shared': fileURLToPath(new URL('./src/components/Shared', import.meta.url)),
|
|
'@Services': fileURLToPath(new URL('./src/services', import.meta.url)),
|
|
}
|
|
}
|
|
})
|