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.

vite.config.js 519B

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