- Overview
- Outline
- Reviews
Introduction: With the development of Node.js, template engine frameworks that can be shared by both front and back terminals are constantly being introduced. This Jade tutorial will lead you to learn Jade, one of the excellent template engines, covering Jade syntax, process code, filter filters, etc., to understand Jade's advantages and disadvantages, and applicable scenarios to make project development smooth and smooth.
Pre-course preparation
- Jade Template Engine Course Introduction08:40
Jade basic grammar knowledge
- Jade-Document Declarations and Head-to-End Labels02:51
- Jade-Real-time compilation on the command line03:20
- Jade-Tag syntax01:45
- Jade-Property text and value04:03
- Jade-Mixed paragraph text and tags03:03
- Jade-Comments and Conditional Comments09:21
- Jade-Variable declaration and data transfer05:31
- Jade-Safe escape and non-escape06:34
- Process code-for-each-while08:20
- Process code-if-else-unless05:29
- Amazing mixins11:46
Jade is promoted
- Jade-inheritance of templates05:44
- Jade-Inclusion of templates04:22
- Render and renderFile methods08:40
- Filter filters03:19
- Using jade in a runtime environment04:31
- Decompile using html2jade02:49
summary
- Jade's shortcomings and how to choose02:44