currentoor / rum-mdl

Reusable material-design-lite react components written with rum

Home Page:https://ajchemist.github.io/rum-mdl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rum-mdl

https://img.shields.io/clojars/v/rum-mdl.svg

Reusable material-design-lite react components written with rum

Using Rum-MDL

[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"}]

References

License

Copyright © 2016 aJchemist

Licensed under Eclipse Public License.

About

Reusable material-design-lite react components written with rum

https://ajchemist.github.io/rum-mdl


Languages

Language:Clojure 100.0%