How to compile jade templates in to JavaScript functions to use them on client side?

后端 未结 6 927
清歌不尽
清歌不尽 2021-01-04 11:31

I want to use compiled jade templates on client side. How should I compile them to get javascript files ? https://github.com/visionmedia/jade

6条回答
  •  借酒劲吻你
    2021-01-04 11:59

    You should probably look at integrating this into a Grunt build task.

    See grunt-contrib-jade

提交回复
热议问题