Book Image

Build Applications with Meteor

Book Image

Build Applications with Meteor

Overview of this book

This book starts with the basic installation and overview of the main components in Meteor. You’ll get hands-on multiple versatile applications covering a wide range of topics from adding a front-end views with the hottest rendering technology React to implementing a microservices oriented architecture.All the code is written with ES6/7 which is the latest significantly improved JavaScript language. We’ll also look at real-time data streaming, server to server data exchange, responsive styles on the front-end, full-text search functionality, and integration of many third-party libraries and APIs using npm. By the end of the book, you’ll have the skills to quickly prototype and even launch your next app idea in a matter of days.
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
8
Build a Chatbot with Facebook’s Messenger Platform

Styling the shopping cart with Material Design Lite


The idea here is to swap Bootstrap with Material Design and swap Sass with LESS. We will again try to get as much as we can from what comes by default with Material Design Lite (MDL).

The first step is to install MDL with npm:

>> npm install material-design-lite --save

Next, we need to rename all the SCSS files to LESS and all variable declaration to start with $ to @.

Initially, a mobile framework/language, the navigation layouts in MDL are quite different from the Bootstrap defaults. The idea is to bring to the user a seamless transition between the native mobile apps and the web apps:

<div className="mdl-layout mdl-js-layout">
<header className="mdl-layout__header mdl-layout__header--scroll">
   <div className="mdl-layout__header-row">
    <span className="mdl-layout-title">Online Store</span>
    <div className="mdl-layout-spacer"></div>
    <nav className="mdl-navigation">
       &lt...