Adding a CSS framework to the application
In all the chapters of this book, we will always use the most up to date technologies, as we have seen in previous chapters with the use of the new Bootstrap (Alpha Release).
In this chapter in particular, we will use a design pattern known as Material Design
.
Tip
You can read more about the design material at https://www.google.com/design/spec/material-design/introduction.html.
For this, we'll use a simple CSS
framework called Materialize.css
.
Tip
You can find more information about Materialize at this link: http://materializecss.com/.
- Replace all of the content from the
app/views/layout.swig
file with the following lines of code:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" ...
Get Node.js 6.x Blueprints now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.