-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: use new nuxi module add
command in installation
#1606
Conversation
Hi @danielroe , thanks for this PR. Nuxt has an excellent starter called I would like to give an option to those who are new to Nuxt UI (I often use I would like to hear @danielroe 's opinion on this. (I was thinking of adding a section to this document. |
Yes, I think it's a good idea to separate the PRs (or you could open a PR to my branch and we could combine it if you prefer). Apologies for shadowing your idea - it was a good one. π |
pnpm add @nuxt/ui | ||
# bun | ||
bun add @nuxt/ui | ||
npx nuxi@latest module add ui | ||
``` | ||
|
||
Then, register the module in your `nuxt.config.ts`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielroe I assume we can remove this section about adding it to nuxt.config.ts
, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can. Unless you want to mention that you can configure it there.
@danielroe , thanks for the response. Then I woud like to open a PR on my end later. |
π Linked issue
β Type of change
π Description
This updates the documentation to use the
nuxi module add
command which should simplify docs a bit and also improve user experience as there's no need to add tonuxt.config
manually.It's documented here.
I may have missed a few spots in the documentation as I'm doing this across the modules ecosystem assisted by the power of regular expressions β¨, so I'd appreciate a review π
π Checklist