docs: use nuxi init -t ui command in installation (#1648)

This commit is contained in:
gangan
2024-04-11 01:56:35 +09:00
committed by GitHub
parent 8b546600db
commit f610c96a0b

View File

@@ -5,6 +5,8 @@ description: 'Learn how to install and configure Nuxt UI in your application.'
## Setup
### Add to a Nuxt project
1. Add `@nuxt/ui` module to your project:
```bash
@@ -21,6 +23,19 @@ export default defineNuxtConfig({
That's it! You can now use all the components and composables in your Nuxt app ✨
### Use Nuxt starter
[Nuxt Starter](https://nuxt.new/) template makes it easy to get started with Nuxt UI.
The Nuxt Starter template is available from the `nuxi init` command.
```bash
npx nuxi@latest init -t ui
```
Please check [nuxt/starter](https://github.com/nuxt/starter/tree/ui) for details.
## Modules
Nuxt UI will automatically install the [@nuxtjs/tailwindcss](https://tailwindcss.nuxtjs.org/), [@nuxtjs/color-mode](https://color-mode.nuxtjs.org/) and [nuxt-icon](https://github.com/nuxt-modules/icon) modules for you.