@jacob-z/vite-plugin-semi-theme-loader
v1.1.1
Published
## forked from: [vite-plugin-semi-theme](https://github.com/boenfu/vite-plugin-semi-theme.git)
Downloads
20
Readme
@jacob-z/vite-plugin-semi-theme-loader
forked from: vite-plugin-semi-theme
Change Log
源码ts重写
修复pnpm管理时无法正确导入主题包的scss的问题 (思路来源 #5 )
修复上述issue中无法正确导入组件token变量的问题
原仓库取材于 theme options docs
Usage
// vite.config.js
import { defineConfig } from "vite";
import semi from "@jacob-z/vite-plugin-semi-theme-loader";
export default defineConfig({
plugins: [
semi({
theme: "@semi-bot/semi-theme-yours",
// options: {
// ... 👆
//},
}),
],
});