Flask-JSGlue
Flask-JSGlue copied to clipboard
integrating Flask-JSGlue with Vue
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?
Include the jsglue-generated ({{ JSGlue.include() }}
script before your Vue application, assign the JSGlue
object to a Vue data prop or computed prop