From 1fc21af918e73bcbb679917b0fd1d4a9437dcd50 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 8 Oct 2024 00:27:31 +0200 Subject: [PATCH] docs(installation): add warning about `shamefully-hoist` TypeScript warning is no longer needed since https://github.com/nuxt/ui/commit/6e7a400d4e4864b1a1154403e1eb01b9724121eb --- docs/content/1.getting-started/2.installation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index 88ddaff2..23c52a40 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -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({ ``` +::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`: