Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cyrilf
Copy link
Contributor

@cyrilf cyrilf commented Jul 25, 2025

❓ Type of Change

  • πŸ“– Documentation (updates to the documentation or README)

πŸ“š Description

I encountered some difficulties while trying to configure the toaster global position.
Specifically, in this section, the code example doesn't provide any valuable information, and the note below redirects to the app.config.ts, which I found misleading.

I found this issue, which guided me to the correct solution: setting the configuration directly in the UApp component.

To improve the documentation, I have made the following changes inspired by the i18n documentation page:

- Added a note reminding users that "Nuxt UI provides an App component."
- Adding some examples of `app.vue`.

Considerations:

- Maybe one example is sufficient?
- Should we remove the note below each example, as it might be misleading?

@cyrilf cyrilf requested a review from benjamincanac as a code owner July 25, 2025 16:08
Copy link

pkg-pr-new bot commented Jul 25, 2025

npm i https://pkg.pr.new/@nuxt/ui@4597

commit: f560df5

## Examples

::note{to="/components/app"}
Nuxt UI provides an **App** component that wraps your app to provide global configurations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the should be used instead of an before App, makes it more consistent with the sentence bellow which uses the as well.

@benjamincanac benjamincanac merged commit 4949120 into nuxt:v3 Aug 12, 2025
6 checks passed
@cyrilf cyrilf deleted the patch-1 branch August 13, 2025 05:21
@benjamincanac benjamincanac added the v3 #1289 label Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 #1289
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants