Recently, looking at the node. JS Development Guide, I saw a problem with preparing to create a Ejs project when using Nodejs for Web development.
The book command is: 1express-t Ejs microblog but after execution, the Jade project was still created. Originally, the Create Ejs command in express3.x,express4.x was updated to: express-e microblog//That is ejs,-j (that is, Jade) of course, the most direct, you can also modify the definition of Package.json to implement the installation Ejs. PS: Establishing the Engineering Process 1. The Express framework must be installed: Express installation command also updated, need to install Express-generator $ NPM install-g Express//Global installation $ NPM install-g Expres S-generator//This command may not be forgotten, or you will be prompted to "express command cannot find" 2. Establish website Engineering structure: EXPRESS-E Ejs microblog3. Follow the prompts to go to the folder installation CD microblog//microblog Create a project folder for the previous NPM install
Create Ejs project in Nodejs Express