I want to disable Jinja2 in the Flask. How can I do it? I have simple Flask project with Vue.js
Asked
Active
Viewed 1,118 times
1
-
Can yo post what you have tried so far? – NinjaCoder Nov 11 '17 at 23:28
-
1If you don't use `render_template`, where will Jinja2 be used? – Blender Nov 11 '17 at 23:35
-
@Blender how I can return text from html file without render_template? return " ..."? – Matvey Tarasov Nov 11 '17 at 23:46
-
@NinjaCoder sorry, I can't it( – Matvey Tarasov Nov 11 '17 at 23:46
-
Why? Have you not tried anything. – NinjaCoder Nov 11 '17 at 23:54
1 Answers
0
Perhaps you are looking for Flask-RESTful? Which focuses on the API and doesn't have templating. https://flask-restful.readthedocs.io/

Neil Anderson
- 1,265
- 12
- 19