Skip to content

Commit

Permalink
chore: change tailwind doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Jun 3, 2024
1 parent 635a22b commit c248a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/start/tailwind/index-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ No matter which side of Tailwind or the component library has higher priority, p
```shell
yarn add -D @douyinfe/semi-webpack-plugin
```
** 2. Introduce the plug-in into the project config (webpack.config.js or next.config.js ...) to enable semi webpack plugin cssLayer feature **
** 2. In the configuration file of the project (webpack.config.js, etc.), import the Semi webpack plug-in and enable cssLayer (users who use non-webpack builds, please refer to the principle to wrap the semi css layer by yourself) **
```js
new SemiWebpackPlugin({
cssLayer:true,
Expand Down
2 changes: 1 addition & 1 deletion content/start/tailwind/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Semi 不依赖任何第三方样式库,没有安装 Tailwind 一样可以运
```shell
yarn add -D @douyinfe/semi-webpack-plugin
```
** 2. 在项目中的配置文件中(webpack.config.js 或 next.config.js 等)引入Semi webpack 插件并开启 cssLayer **
** 2. 在项目中的配置文件中(webpack.config.js 等)引入Semi webpack 插件并开启 cssLayer (使用非 webpack 构建的用户请参照原理自行对 semi 的 css 进行 layer 包裹) **
```js
new SemiWebpackPlugin({
cssLayer:true,
Expand Down

0 comments on commit c248a98

Please sign in to comment.