In this way, the variable separator of Jinja2 can be changed to "${}", and of course more settings can be made. But this is not only unaccustomed to the writers of server-side templates, but the more serious problem is that some editors for this kind of templates cannot recognize this symbol.
The best solution is to change the syntax of VUE. I define it like this in all projects. Just write it in front of the VUE code, so that there will be no problems with code migration
The first solution is to change the syntax of jinja2, but it is not recommended
In this way, the variable separator of Jinja2 can be changed to "${}", and of course more settings can be made. But this is not only unaccustomed to the writers of server-side templates, but the more serious problem is that some editors for this kind of templates cannot recognize this symbol.
The best solution is to change the syntax of VUE. I define it like this in all projects. Just write it in front of the VUE code, so that there will be no problems with code migration
You can strictly limit {{}} in JinJa to {{ xx }}. My projects are all set up like this