You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
500 B

1 week ago
  1. import { fileURLToPath, URL } from 'node:url'
  2. import { defineConfig } from 'vite'
  3. import vue from '@vitejs/plugin-vue'
  4. import vueJsx from '@vitejs/plugin-vue-jsx'
  5. import vueDevTools from 'vite-plugin-vue-devtools'
  6. import tailwindcss from '@tailwindcss/vite'
  7. // https://vite.dev/config/
  8. export default defineConfig({
  9. plugins: [
  10. vue(),
  11. vueJsx(),
  12. vueDevTools(),
  13. tailwindcss(),
  14. ],
  15. resolve: {
  16. alias: {
  17. '@': fileURLToPath(new URL('./src', import.meta.url))
  18. },
  19. },
  20. })