feiyu02
2025-03-20 419fe50acad4674f50c6639b3ec7ccbcaf2cbf44
vite.config.js
@@ -27,6 +27,17 @@
      '@': fileURLToPath(new URL('./src', import.meta.url))
    }
  },
  css: {
    // postcss: {
    //   plugins: [autoprefixer],
    // },
    preprocessorOptions: {
      scss: {
        additionalData: `@use "@/styles/index.scss" as *;`
        // additionalData: '@import   "@/styles/index.scss";'
      }
    }
  },
  server: {
    host: '0.0.0.0'
  }