vite.config.ts 269 B

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