瀏覽代碼

chore: change tailwind doc

DaiQiangReal 1 年之前
父節點
當前提交
c248a9855c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      content/start/tailwind/index-en-US.md
  2. 1 1
      content/start/tailwind/index.md

+ 1 - 1
content/start/tailwind/index-en-US.md

@@ -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,

+ 1 - 1
content/start/tailwind/index.md

@@ -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,