router-ui-frontend/vite.config.ts

15 lines
318 B
TypeScript
Raw Normal View History

2024-08-19 21:03:08 +00:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
2024-09-01 06:22:00 +00:00
import path from 'path';
import svgLoader from 'vite-svg-loader';
2024-08-19 21:03:08 +00:00
// https://vitejs.dev/config/
export default defineConfig({
2024-09-01 06:22:00 +00:00
plugins: [vue(), svgLoader()],
resolve : {
alias: {
'@': path.resolve(__dirname, './src'),
}
}
2024-08-19 21:03:08 +00:00
})