How do I render partials with jade without express.js?

后端 未结 4 1663
隐瞒了意图╮
隐瞒了意图╮ 2021-02-20 18:35

Only info I found was this:

http://forrst.com/posts/Node_js_Jade_Import_Jade_File-CZW

I replicated the suggested folder structure (views/partials) But it didn\'t

4条回答
  •  执念已碎
    2021-02-20 19:04

    I think partial rendering is done in express, so you will have to snag that code or write your own.

    I have my own helper class for jade rendering with partials that you can use or get some ideas from here, (it's using Joose and Cactus)

提交回复
热议问题