mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-17 13:38:07 +01:00
docs(installation): add warning about shamefully-hoist
TypeScript warning is no longer needed since 6e7a400d4e
This commit is contained in:
@@ -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`:
|
||||
|
||||
Reference in New Issue
Block a user