angular.js - jade template engine cannot do single page mode, please tell me how to do it.
伊谢尔伦2017-05-15 16:58:11
0
2
574
Using the route module of angularjs to create a single page mode, I found that jade cannot parse it at all and must request a back-end service to parse it. Please ask God to think of a solution.
Why should we use jade for pure front-end? If you use Angular, don’t use Jade~ It’s too troublesome~ Since Angular is a pure front-end~ use Api to interact No need for rendering, give up Jade~
For pure front-end, just compile jade into html and then request it.
Why should we use jade for pure front-end?
If you use Angular, don’t use Jade~ It’s too troublesome~
Since Angular is a pure front-end~ use Api to interact
No need for rendering, give up Jade~