其他的模版引擎:如template.js,vue.js等
在django中怎么进行配置,才可以使用其他的模版引擎?
PHP中文网2017-04-18 10:32:07
Since the front-end and back-end are separated, the back-end can just focus on returning API data. Template rendering and other things can be left to the front-end itself.
高洛峰2017-04-18 10:32:07
You can use openresty (nginx) to configure the front-end static files. Some pages can be rendered using template and lua code in nginx. This eliminates the need for python django render