Generating HTML views in Jade


show more Generating HTML views in Jade provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Node.js Essential Training (2013) show less
please wait ...

Generating HTML views in Jade

Most frameworks and content management systems use the concept of theming or templating HTML documents. Express is no exception. By default, Express offers Jade as a templating system. In this video, we'll create some templates in Jade and use them to display data from our application. Let's go to the exercise files and set up our server. Go to chapter five and video six, then copy the start folder to your desktop. From here, we'll install the modules. Type in cd and then I'm just going to drag that folder into terminal to get that path.

Now I'm going to type npm install. Now let's open the start folder in Sublime Text. At the moment, the public and the views folders are entirely empty. We're going to be adding some files here in this video. The first file I'm going to add is Bootstrap. To help with the styles, I'll be using the Bootstrap CSS framework, and it's available from getbootstrap.com. You can use whatever CSS files or frameworks you'd like for your pr...

Generating HTML views in Jade
Video duration: 8m 9s 3h 17m Intermediate

Viewers:

Generating HTML views in Jade provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Node.js Essential Training (2013)

Subject:
Developer
Software:
JavaScript Node.js
Author:
please wait ...