New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Named views without definePage should not generate an import in auto-routes #344
Labels
⚡️ enhancement
improvement over an existing feature
Comments
@posva Does this mean that the resulting meta will be the last route now? that is, meta _definePage_named_1 will overwrite meta _definePage_default_0 |
no, |
if definePage in index.vue: then i get meta: {} |
It is indeed a bug. Add an empty definePage as a temporary workaround |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should be the better fix for #338
currently, the playground generates this code:
Since
[email protected]
doesn't have adefinePage()
inside it, it would be better if it was skipped completelyThe text was updated successfully, but these errors were encountered: