mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-04 14:17:55 +01:00
docs: use nuxi init -t ui command in installation (#1648)
This commit is contained in:
@@ -5,6 +5,8 @@ description: 'Learn how to install and configure Nuxt UI in your application.'
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
### Add to a Nuxt project
|
||||||
|
|
||||||
1. Add `@nuxt/ui` module to your project:
|
1. Add `@nuxt/ui` module to your project:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -21,6 +23,19 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
That's it! You can now use all the components and composables in your Nuxt app ✨
|
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
|
## 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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user