@handsomewolf/scss-tools

0.0.0 • Public • Published

实验性版,不推荐使用!

若使用的是vite请在vite.confit.ts中加入以下配置,使所有页面都可以使用全局的sass变量函数以及mixin

import { defineConfig } from "vite";

export default defineConfig({
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: `@import "@/static/styles/index.scss";`,
      },
    },
  },
});

Readme

Keywords

Package Sidebar

Install

npm i @handsomewolf/scss-tools

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

18.1 kB

Total Files

23

Last publish

Collaborators

  • handsomewolf