docs: use new nuxi module add command in installation#1606
docs: use new nuxi module add command in installation#1606benjamincanac merged 9 commits intodevfrom
nuxi module add command in installation#1606Conversation
|
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. 🙏 |
| npx nuxi@latest module add ui | ||
| ``` | ||
|
|
||
| Then, register the module in your `nuxt.config.ts`: |
There was a problem hiding this comment.
@danielroe I assume we can remove this section about adding it to nuxt.config.ts, right?
There was a problem hiding this comment.
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 addcommand which should simplify docs a bit and also improve user experience as there's no need to add tonuxt.configmanually.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