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.

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
黄舟

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~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template