docs: sync api from heroui-cli v1.2.2 (#5217)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
winches 2025-04-29 05:40:48 +08:00 committed by GitHub
parent 8e93bc87ac
commit 31476000d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,7 +61,7 @@ heroui init [projectName] [options]
#### Init Options
- `-t --template [string]` The template to use for the new project e.g. app, pages, vite
- `-t --template [string]` The template to use for the new project e.g. app, laravel, pages, remix, vite
- `-p --package [string]` The package manager to use for the new project (default: `npm`)
##### Example
@ -79,9 +79,11 @@ HeroUI CLI v0.2.1
┌ Create a new project
◇ Select a template (Enter to select)
│ ● App (A Next.js 14 with app directory template pre-configured with HeroUI (v2) and Tailwind CSS.)
│ ○ Pages (A Next.js 14 with pages directory template pre-configured with HeroUI (v2) and Tailwind CSS.)
│ ● App (A Next.js 15 with app directory template pre-configured with HeroUI (v2) and Tailwind CSS.)
│ ○ Pages (A Next.js 15 with pages directory template pre-configured with HeroUI (v2) and Tailwind CSS.)
│ ○ Vite (A Vite template pre-configured with HeroUI (v2) and Tailwind CSS.)
│ ○ Remix (A Remix template pre-configured with HeroUI (v2) and Tailwind CSS.)
│ ○ Laravel (A Laravel template pre-configured with HeroUI (v2) and Tailwind CSS.)
◇ New project name (Enter to skip with default name)
│ my-heroui-app