Flask-JSGlue icon indicating copy to clipboard operation
Flask-JSGlue copied to clipboard

integrating Flask-JSGlue with Vue

Open havok2063 opened this issue 5 years ago • 1 comments

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?

havok2063 avatar Nov 18 '19 19:11 havok2063

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

iansprice avatar Sep 14 '20 15:09 iansprice