Replies: 1 comment 1 reply
-
This sounds like it would be fixed with #448 Otherwise, what you are proposing is to treat files that start with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the current version, the naming convention of
users.create.vue
does implement nested routing without nesting layouts. The file structure might look like this:However, in actual projects, routes similar to users.create.vue tend to be numerous, and users.create.vue itself might contain numerous abstract components. Having all these files at the same level can hinder maintenance.
To address this, a more organized structure could be adopted, such as:
Or, a more conventional approach would be to use a folder to group related files:
In the second option, with
src/pages/users/.create/index.vue
, abstract components can be directly placed within the.create
(or simply create to avoid unconventional naming) folder, improving maintainability and clarity.This approach allows for better organization and separation of concerns, especially as the project grows and more routes and components are added.
Beta Was this translation helpful? Give feedback.
All reactions