vite.config.ts 333 B

123456789101112131415
  1. import { defineConfig } from 'vite'
  2. import { fileURLToPath, URL } from "node:url";
  3. import vue from '@vitejs/plugin-vue'
  4. // https://vitejs.dev/config/
  5. export default defineConfig({
  6. root: "src/",
  7. base: './',
  8. plugins: [vue()],
  9. resolve: {
  10. alias: {
  11. "@": fileURLToPath(new URL("./src", import.meta.url)),
  12. },
  13. },
  14. })