An easy way to start using Material Design Components for the Web. This codebase is adapted from Google's Getting Started guide on the official Material Design website.
There are three ways to start using the quickstart.
- Fork this repository
- Download this repository as a zip
- Clone this repository:
git clone https://github.com/Richienb/mdc-quickstart.git
This repository uses yarn as the package manager instead of the classic npm.
Yarn can be installed by running npm install yarn --global
.
If you want to use npm instead, simply delete the yarn.lock
file: rm -f yarn.lock
.
To install the dependencies, run yarn install
. If you're using npm, run npm install
.
To add dependencies with yarn, run yarn add <NAME> --dev
or with npm, npm install <NAME> --save-dev
.
To remove dependencies with yarn, run yarn remove <NAME>
or with npm, npm uninstall <NAME>
To start the development server, run npm start
. You will then be able to preview the website live at 127.0.0.1:8080
To build the website, run npm run build
.