A Material Design framework.
This library is based on Material Components for the web (MDC Web).
You should compile your Elm program to JavaScript and embed it in a custom HTML document. From your HTML document, you have to include the following assets to use this library.
Please make sure that the last two assets match this library's version (ie. 1.0.1) exactly.
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500|Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/material-components-web-elm.min.css">
<script src="https://unpkg.com/[email protected]/dist/material-components-web-elm.min.js"></script>Refer to the simple counter
example
for a minimal starting point, specifically to the files
src/Main.elm
and
page.html.
Please share your experience using this library! Use GitHub to report bugs or ask questions, too.