blog-vue/vite.config.ts

17 lines
279 B
TypeScript
Raw Normal View History

2024-07-13 22:37:36 +02:00
import { fileURLToPath, URL } from 'node:url'
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
2024-07-15 21:41:46 +02:00
export default {
2024-07-13 22:37:36 +02:00
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))
}
}
2024-07-15 21:41:46 +02:00
}