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

integrating Flask-JSGlue with Vue #28

Open
havok2063 opened this issue Nov 18, 2019 · 1 comment
Open

integrating Flask-JSGlue with Vue #28

havok2063 opened this issue Nov 18, 2019 · 1 comment

Comments

@havok2063
Copy link

If I'm building a web application using a Flask back-end but a Vue front-end instead of one based off the Jinja2 templating system, but still want to utilize Flask's url_for function in the front-end, what's the best way to do that?

@iansprice
Copy link

Include the jsglue-generated ({{ JSGlue.include() }} script before your Vue application, assign the JSGlue object to a Vue data prop or computed prop

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