How to run material design starter tutorial — MDC 101

  1. Clone the repo into your local machine
git clone https://github.com/material-components/material-components-web-codelabs
cd material-components-web-codelabs/mdc-101/starter

2. Update your node js into the latest version

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

3. Give npm sudo access

$ mkdir ~/.npm-global
$ npm config set prefix '~/.npm-global'
$ export PATH=~/.npm-global/bin:$PATH
$ source ~/.profile

4. Install sass-loader

$ npm install sass-loader node-sass webpack --save-dev

5. Install dependancies

npm install 

6. Run project

npm start

Written by

Former Glorified Electrician(aka Electrical Engineer). Now a Software Developer working on complex Enterprise Software. Lets connect on twitter @NdamuleloNemakh

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store