Skip to content

Commit

Permalink
Update tailwindcss.mdx
Browse files Browse the repository at this point in the history
#288
fix: 288
  • Loading branch information
Linefate authored Nov 17, 2024
1 parent 5ff7ab5 commit 1288044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tailwindcss.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ module.exports = {
在你的项目入口文件里引入 `tailwindcss`,比如 `taro app``app.scss`

```scss title="app.scss"
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@use 'tailwindcss/base' as *;
@use 'tailwindcss/components' as *;
@use 'tailwindcss/utilities' as *;
// 不使用 sass 就这么写
// @tailwind base;
// @tailwind components;
Expand Down

0 comments on commit 1288044

Please sign in to comment.