Skip to content

Commit a52460c

Browse files
authored
docs: update Tailwind link (#3554)
1 parent 2b921bc commit a52460c

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

src/content/docs/en/guides/styling.mdx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,22 @@ import "../components/make-it-purple.css"
429429

430430
## CSS Integrations
431431

432-
Astro comes with support for adding popular CSS libraries, tools and frameworks to your project like [Tailwind][tailwind] and more!
432+
Astro comes with support for adding popular CSS libraries, tools and frameworks to your project like [Tailwind](https://tailwindcss.com) and more!
433433

434-
📚 See the [Integrations Guide](/en/guides/integrations-guide/) for instructions on installing, importing and configuring these integrations.
434+
### Tailwind
435+
436+
To use Taiwind in your project, install the offical [Astro Tailwind integration][tailwind] using the `astro add` command for your package manager:
437+
438+
```sh
439+
# Using NPM
440+
npx astro add tailwind
441+
# Using Yarn
442+
yarn astro add tailwind
443+
# Using PNPM
444+
pnpm astro add tailwind
445+
```
446+
447+
📚 See the [Integrations Guide](/en/guides/integrations-guide/) for instructions on installing, importing and configuring Astro integrations.
435448

436449

437450
## CSS Preprocessors
@@ -585,7 +598,7 @@ See [Vite's docs](https://vitejs.dev/guide/assets.html#importing-asset-as-url) f
585598
[sass]: https://sass-lang.com/
586599
[stylus]: https://stylus-lang.com/
587600
[svelte-style]: https://svelte.dev/docs#component-format-style
588-
[tailwind]: https://github.com/withastro/astro/tree/main/packages/integrations/tailwind
601+
[tailwind]: /en/guides/integrations-guide/tailwind/
589602
[vite-preprocessors]: https://vitejs.dev/guide/features.html#css-pre-processors
590603
[vue-css-modules]: https://vue-loader.vuejs.org/guide/css-modules.html
591604
[vue-scoped]: https://vue-loader.vuejs.org/guide/scoped-css.html

0 commit comments

Comments
 (0)