vite.config.ts 350 B

12345678910111213141516
  1. import { fileURLToPath, URL } from 'node:url'
  2. import { defineConfig } from 'vite'
  3. import vue from '@vitejs/plugin-vue'
  4. export default defineConfig(() => {
  5. return {
  6. plugins: [vue()],
  7. server: {
  8. fs: { strict: false }
  9. },
  10. resolve: {
  11. alias: {
  12. '@': fileURLToPath(new URL('./src', import.meta.url))
  13. }
  14. }
  15. }
  16. })