I was playing around with it yesterday and today:

There's not a CDN, or pre-built javascript file for MaterialUI, so you have to 
build it yourself.

git clone [email protected]:callemall/material-ui.git

cd material-ui/example/src

Alter app.jsx to look like: 
https://gist.github.com/taylorSando/dea6e49a67f71f672f68

What this is doing is making sure MaterialUI is in the global namespace so you 
can refer to it in clojurescript.

You need to run gulp in the examples folder so that it builds the material ui 
file.

The new source file will be in the build dir.  You can insert the app.js with 
clojure to refer to MaterialUI components.

You can work with MaterialUI using om-tools using this code:
https://gist.github.com/taylorSando/f6edfd51b16ec26e13a1

It's basically bootstrap-cljs, but with MaterialUI.

If you want the css and the fonts, then you have to include those as well.

You can use it just like you would use bootstrap-cljs.
 

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to