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: allow to generate import statement for route blocks #192

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ktsn
Copy link
Owner

@ktsn ktsn commented Oct 11, 2020

fix #107

This PR adds a new option inlineRouteBlock. If it is specified as false, it generates import statement for <route> block instead of inlining the value into route option directly. By using this, we can leave the processing for <route> block to webpack and allow having JS code in it.

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

Successfully merging this pull request may close these issues.

Allow scripted <route-meta/>
1 participant