docs(installation): add warning about shamefully-hoist

TypeScript warning is no longer needed since 6e7a400d4e
This commit is contained in:
Benjamin Canac
2024-10-08 00:27:31 +02:00
parent ede20f89c4
commit 1fc21af918

View File

@@ -27,10 +27,6 @@ bun add @nuxt/ui@next
::
::warning
Make sure you have `typescript` installed in your dev dependencies.
::
2. Register the Nuxt UI module in your `nuxt.config.ts`{lang="ts-type"}:
```ts [nuxt.config.ts]
@@ -48,6 +44,10 @@ export default defineNuxtConfig({
</style>
```
::warning
If you're using **pnpm**, ensure that you either set [`shamefully-hoist=true`](https://pnpm.io/npmrc#shamefully-hoist) in your `.npmrc` file or install `tailwindcss@next` directly in your project's root directory.
::
## Options
You can customize Nuxt UI by providing options in your `nuxt.config.ts`: