blog-vue/vite.config.ts

19 lines
359 B
TypeScript
Raw Normal View History

2024-07-13 22:37:36 +02:00
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
2024-07-15 20:19:43 +02:00
import Pages from 'vite-plugin-pages'
2024-07-13 22:37:36 +02:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
2024-07-15 20:19:43 +02:00
Pages()
2024-07-13 22:37:36 +02:00
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})