Update nuxt.md

Added the installation before the initialization of the command `npx shadcn-vue init`
This commit is contained in:
Brayan Paucar 2024-03-22 10:51:41 -05:00 committed by GitHub
parent 8982ec3862
commit 7b06f306e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -166,6 +166,8 @@ export default defineNuxtConfig({
}) })
``` ```
### Run the CLI ### Run the CLI
Run the `shadcn-vue` init command to setup your project: Run the `shadcn-vue` init command to setup your project:
@ -174,6 +176,13 @@ Run the `shadcn-vue` init command to setup your project:
npx shadcn-vue@latest init npx shadcn-vue@latest init
``` ```
Run the following command if you have *not found command* error
```bash
npm install shadcn-vue@latest
```
### Configure components.json ### Configure components.json
You will be asked a few questions to configure `components.json`: You will be asked a few questions to configure `components.json`: