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
In our project we use file structure where pages and components are mixed together.
I would like to generate routes only for files that have <route></route> custom block defined. That removes ambiguity and makes automated logic pretty simple to understand.
Also, IMHO it provides nice migration path for big projects that want to use this plugin (first move route definitions into , then enable autodetection)
Do you think it will be useful to include? I can create PR.
Suggested solution
add new predefined resolver - vueWithRouteBlock, that will be based on vue resolver but even simpler.
Description
In our project we use file structure where pages and components are mixed together.
I would like to generate routes only for files that have
<route></route>
custom block defined. That removes ambiguity and makes automated logic pretty simple to understand.Also, IMHO it provides nice migration path for big projects that want to use this plugin (first move route definitions into , then enable autodetection)
Do you think it will be useful to include? I can create PR.
Suggested solution
add new predefined resolver -
vueWithRouteBlock
, that will be based onvue
resolver but even simpler.Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: