This file template sets up the webpack
configuration and installs the npm
packages required to get Material Components for the Web up and running. It simply displays a Material button that says "Hello World"!
- View it on GitHub Pages
- View it on Glitch
- From the root directory, run:
npm install
npm start
Note: This will use
webpack-dev-server
to run the project locally.
- Point your browser to http://localhost:8080/
- From the root directory, run:
npm install
npm run-script build
Note: This will update
bundle.js
andbundle.css
in thedist/
folder.
- Open
index.html
in your browser
Check out the Material Components for the Web documentation to add more components and styling.
Read the full Getting Started guide
Built with Material Starter Kit a file template to get you up and running with Material Components for the Web. Remix it and start theming.