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.

1234567891011121314151617181920212223242526
  1. import { defineConfig } from 'vite'
  2. import vue from '@vitejs/plugin-vue'
  3. import path from 'path'
  4. import { fileURLToPath } from 'url'
  5. const filename = fileURLToPath(import.meta.url)
  6. const dirname = path.dirname(filename)
  7. // https://vitejs.dev/config/
  8. export default defineConfig({
  9. css: {
  10. preprocessorOptions: {
  11. scss: {
  12. additionalData:
  13. '$use-layout-classes: false;@import "/src/../node_modules/wave-ui/src/wave-ui/scss/_variables.scss";',
  14. },
  15. },
  16. },
  17. plugins: [vue()],
  18. resolve: {
  19. alias: {
  20. '@': path.resolve(dirname, 'src'),
  21. },
  22. },
  23. })