frontend/vite.config.js

21 lines
657 B
JavaScript
Raw Normal View History

2024-06-24 03:56:21 +00:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path';
2024-06-24 03:56:21 +00:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
'@assets': path.resolve(__dirname, 'src/assets'),
'@public': path.resolve(__dirname, 'public'),
'@components': path.resolve(__dirname, 'src/components'),
'@views': path.resolve(__dirname, 'src/views'),
'@store': path.resolve(__dirname, 'src/store'),
'@router': path.resolve(__dirname, 'src/router'),
'@services': path.resolve(__dirname, 'src/services'),
}
}
2024-06-24 03:56:21 +00:00
})