-
Notifications
You must be signed in to change notification settings - Fork 389
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
fix: custom delimiters in child contexts #90
fix: custom delimiters in child contexts #90
Conversation
can we add our own delimiter in petite-vue? |
Yes @shahriar350 there is support for it, see #41 and eda903c |
This is a big problem when trying to use PetiteVue in existing template language , like django template (both vue and django template use Any possible workaround for this, as this basically prevents me from using petite-vue altogether? |
@PerpetualWar You could compile your own version of petite-vue with the updates stated in this PR, and use it. I'm not familiar with Django, but for example Laravel could use different tags for blade and other javascript frameworks. |
How would I compile modified version? |
@PerpetualWar Steps:
Results are in the dist folder, created by the last command ( |
Move delimiters and delimitersRE to overwrite them with parent context.
Would be awesome to have this merged as soon as possible! 👍 |
Move delimiters and delimitersRE options in context to overwrite it with parent context.