0.0.0 • Published 2 years ago
@handsomewolf/scss-tools v0.0.0
实验性版,不推荐使用!
若使用的是vite请在vite.confit.ts中加入以下配置,使所有页面都可以使用全局的sass变量、函数以及mixin
import { defineConfig } from "vite";
export default defineConfig({
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "@/static/styles/index.scss";`,
},
},
},
});0.0.0
2 years ago