Skip to content

docs: add v-app requirement note to v-app-bar#22945

Open
mmustafasenoglu wants to merge 2 commits into
vuetifyjs:masterfrom
mmustafasenoglu:docs-app-bar-v-app-note
Open

docs: add v-app requirement note to v-app-bar#22945
mmustafasenoglu wants to merge 2 commits into
vuetifyjs:masterfrom
mmustafasenoglu:docs-app-bar-v-app-note

Conversation

@mmustafasenoglu

Copy link
Copy Markdown

Description

Adds a warning note to the v-app-bar documentation that the component must be used inside a v-app component.

Fixes #22855

Motivation

Users frequently encounter the injection "Symbol(vuetify:layout)" not found error when using v-app-bar without wrapping it in v-app. The current documentation does not mention this requirement, forcing users to search for solutions externally.

Changes

  • Added a warning callout in the Usage section explaining that v-app-bar must be inside v-app
  • Included the specific error message users will see
  • Linked to the v-app component documentation

@mmustafasenoglu

Copy link
Copy Markdown
Author

Thanks for reviewing!

I've added a note in the v-app-bar documentation clarifying that v-app must be the parent component, otherwise you'll get a injection "Symbol(vuetify:layout)" not found error.

Let me know if you need any changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Documentation] v-app-bar doesn't mention anything about being required to be inside v-app

1 participant