blog-vue/vite.config.ts

17 lines
279 B
TypeScript

import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
import Pages from 'vite-plugin-pages'
export default {
plugins: [
vue(),
Pages()
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
}