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

后端 未结 6 958
清歌不尽
清歌不尽 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条回答
  •  萌比男神i
    2021-01-04 12:00

    Blade is a Jade-like HTML template engine that has a built-in middleware for serving compiled templates to the client. :) Check it out!

提交回复
热议问题