Skip to content

Basic template for prototyping with Material Components for the Web

License

Notifications You must be signed in to change notification settings

material-spirit/basic-material-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Material Starter Kit

🚀 Basic template for experimenting and prototyping with Material Components for the Web (or MDC-Web).

The template is based on Getting Started doc, but fixes some errors and adds small improvements:

  • ✔️ fixed outdated babel-loader configuration
  • ✔️ links Roboto font
  • ✔️ proper mdc-button HTML markup

MDC-Web is used with SASS (not via CDN) allowing you to use mixins, perform customizations and theming. As an example, the template includes customized @material/button component.

Usage

Option 1: Developing locally

Go to Releases and download the latest release. Unpack it, rename the folder/app and use it as a starting point for experimenting with MDC-Web:

# install dependencies
yarn install

# serve with hot reload at localhost:8080
yarn start

# build for production with minification
yarn build

Option 2: Developing and sharing online

  1. Go to codesandbox.io and click Create Sandbox.
  2. Select "Import Project" and enter GitHub repository: https://github.com/material-spirit/basic-material-starter-kit.git
  3. Once the initialization is done, you'll have online workspace ready for development and sharing.

Other Material-Influenced Projects