Skip to content
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

[Feat] add vueWithRouteBlock predefined resolver #306

Open
3 tasks done
leo-buneev opened this issue Oct 2, 2022 · 1 comment
Open
3 tasks done

[Feat] add vueWithRouteBlock predefined resolver #306

leo-buneev opened this issue Oct 2, 2022 · 1 comment

Comments

@leo-buneev
Copy link

leo-buneev commented Oct 2, 2022

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 on vue resolver but even simpler.

Alternative

No response

Additional context

No response

Validations

  • Follow the Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@jdz321
Copy link

jdz321 commented Oct 16, 2022

Nice idea. This is what I need too.

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

No branches or pull requests

2 participants