15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import path from 'path';
|
|
import svgLoader from 'vite-svg-loader';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue(), svgLoader()],
|
|
resolve : {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
}
|
|
}
|
|
})
|