Skip to content

Commit 18f416e

Browse files
authored
docs: mention tailwindcss-cli if tailwindcss init fails (#946)
1 parent 56a170c commit 18f416e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ pnpm dlx tailwindcss init
114114

115115
::
116116

117+
::callout{color="amber" icon="i-ph-warning-duotone"}
118+
If the above fails, you can try `npx tailwindcss-cli init`.
119+
::
120+
117121
If you're going to create your own CSS file for Tailwind CSS, make sure to add the [`@tailwind`](https://tailwindcss.com/docs/functions-and-directives#tailwind) directives:
118122

119123
```css [~/assets/css/tailwind.css]

0 commit comments

Comments
 (0)