Skip to content

Commit 050a363

Browse files
authored
Merge pull request #1000 from live-codes/fix
fix tailwindcss docs
2 parents 7174c52 + fd93068 commit 050a363

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docs/docs/languages/tailwindcss.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,15 @@ CSS Frameworks supported in LiveCodes (e.g. Tailwind CSS, [UnoCSS](./unocss.mdx)
5858

5959
### Tailwind CSS Plugins
6060

61-
Tailwind CSS plugins can be imported in the [style editor](../features/projects.mdx#style-editor).
61+
Tailwind CSS [legacy JavaScript-based plugins](https://v3.tailwindcss.com/docs/plugins#official-plugins) can be loaded using the [`@plugin` directive](https://tailwindcss.com/docs/functions-and-directives#plugin-directive) in the [style editor](../features/projects.mdx#style-editor).
6262

6363
```css
64-
@import "@tailwindcss/forms";
65-
@import "@tailwindcss/typography";
66-
@import "@tailwindcss/aspect-ratio";
67-
@import "@tailwindcss/line-clamp";
64+
@plugin "@tailwindcss/forms";
65+
@plugin "@tailwindcss/typography";
66+
@plugin "@tailwindcss/aspect-ratio";
67+
@plugin "@tailwindcss/line-clamp";
6868
```
6969

70-
7170
## Processor Info
7271

7372
### Name

0 commit comments

Comments
 (0)