You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The layout component are easy to mix with route components
Suggested solution
Here are two suggestions, name the Nested Routes component layout.vue and put the layout.vue in the page route folder, like nextjs does. Currently, the layout component are mixed with other route components, which may cause confusion over time. To make it clearer and more organized, consider the suggestions.
This discussion was converted from issue #582 on October 21, 2024 01:56.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
The layout component are easy to mix with route components
Suggested solution
Here are two suggestions, name the Nested Routes component layout.vue and put the layout.vue in the page route folder, like nextjs does. Currently, the layout component are mixed with other route components, which may cause confusion over time. To make it clearer and more organized, consider the suggestions.
Alternative
No response
Additional context
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions