Node.js log3:create ejs engine and jade engine

The base condition is ensure that you have  installed express.node

一、create   ejs enginegit

Using windows dos with command into  the contents and write below's commands:github

express -e   ejs   microblogexpress

二、create jade enginewindows

Using windows dos with command into the contents and write below's commands:spa

express -t   ejs   microblogblog

三、show result viewsjade

Create project microblog sucess!The jade engine create views like as above's views.get

四、the link to study  node.jsit

why the command :express -t ejs microblog  installed jade engine.

You can find the answer from here :https://github.com/visionmedia/express/blob/master/bin/express   

相關文章
相關標籤/搜索