Reusable material-design-lite react components written with rum
[rum "0.8.3"]
[rum-mdl "0.0.1"]
(require
'[rum.core :as rum]
'[rum.mdl :as mdl])
Normally default mdl stylesheet is required for proper site rendering.
As you are using boot, then you can retrieve mdl css files with sift
task from cljsjs/material
jar.
If you’re using order version of boot than
2.6.0
,you should add additional dep coord
[cljsjs/material "x.y.z-w"]
. (See details.)
(sift :add-jar {'cljsjs/material #".*.css$"})
(sift :move {#".*/material.inc.css" "material.inc.css"
#".*/material.min.inc.css" "material.min.inc.css"})
and add a <link>
tag in your index.html
.
[:link {:rel "stylesheet" :href "material.inc.css"}]
- https://github.com/google/material-design-lite
- https://github.com/google/material-design-lite/blob/master/src/mdlComponentHandler.js
- https://design.google.com/icons/
Copyright © 2016 aJchemist
Licensed under Eclipse Public License.