Skip to content

Commit cad23ac

Browse files
authored
docs: add command to create tailwind.config.js for pnpm (#910)
1 parent b54746e commit cad23ac

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/content/1.getting-started/1.installation.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ That's it! You can now use Tailwind classes in your Nuxt app ✨
5353
For Nuxt 2.15 and lower, also add [`@nuxt/postcss8`](https://github.com/nuxt/postcss8) to your dependencies.
5454
::
5555

56-
5756
::callout{color="blue" icon="i-ph-info-duotone"}
5857
Discover your color palette based on your Tailwind config with the [Tailwind viewer](/tailwind/viewer).
5958
::
@@ -107,10 +106,18 @@ If these files don't exist, the module will automatically generate a basic confi
107106

108107
You can create the `tailwind.config.js` file by running the following command:
109108

110-
```bash
109+
::code-group
110+
111+
```bash [npm/yarn]
111112
npx tailwindcss init
112113
```
113114

115+
```sh [pnpm]
116+
pnpm dlx tailwindcss init
117+
```
118+
119+
::
120+
114121
::callout{color="blue" icon="i-ph-info-duotone"}
115122
You can configure the paths in the [module options](/getting-started/configuration).
116123
::

0 commit comments

Comments
 (0)