Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2022-06-11 20:23:35 +08:00
23 changed files with 230 additions and 142 deletions

View File

@@ -42,7 +42,7 @@ button
└─ README.md # component doc
```
When using this directory structure, the developer of the component library needs to import the JS and CSS files respectively, and the styles can also be imported automatically through babel-plugin-import.
When using this directory structure, the developer of the component library needs to import the JS and CSS files respectively.
Theme customization can be achieved by importing style source files (less or scss) and modifying style variables.

View File

@@ -42,7 +42,7 @@ button
└─ README.md # 组件文档
```
采用这种目录结构时,组件的使用者需要分别引入 JS 和 CSS 文件,也可以通过 babel-plugin-import 自动引入样式
采用这种目录结构时,组件的使用者需要分别引入 JS 和 CSS 文件。
通过引入样式源文件less 或 scss并修改样式变量可以实现主题定制功能。