mirror of https://github.com/status-im/reagent.git
Update MaterialUI example deps
This commit is contained in:
parent
0bf23ebe86
commit
268bba31c4
|
@ -2,12 +2,12 @@
|
|||
:dependencies [[org.clojure/clojure "1.9.0"]
|
||||
[org.clojure/clojurescript "1.10.439"]
|
||||
[reagent "0.8.1"]
|
||||
[figwheel "0.5.16"]
|
||||
[cljsjs/material-ui "3.1.1-0"]
|
||||
[figwheel "0.5.17"]
|
||||
[cljsjs/material-ui "3.2.0-0"]
|
||||
[cljsjs/material-ui-icons "3.0.1-0"]]
|
||||
|
||||
:plugins [[lein-cljsbuild "1.1.7"]
|
||||
[lein-figwheel "0.5.16"]]
|
||||
[lein-figwheel "0.5.17"]]
|
||||
|
||||
:figwheel {:repl false
|
||||
:http-server-root "public"}
|
||||
|
@ -40,8 +40,8 @@
|
|||
:output-to "target/cljsbuild/client-npm/public/js/main.js"
|
||||
:asset-path "js/out"
|
||||
:install-deps true
|
||||
:npm-deps {react "16.4.0"
|
||||
react-dom "16.4.0"
|
||||
:npm-deps {react "16.6.0"
|
||||
react-dom "16.6.0"
|
||||
create-react-class "15.6.3"
|
||||
"@material-ui/core" "3.1.1"
|
||||
"@material-ui/icons" "3.0.1"}
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
(ns example.core
|
||||
(:require [reagent.core :as r]
|
||||
;; FIXME: Needs some ClojureScript compiler fixes
|
||||
; ["@material-ui/core" :as mui]
|
||||
; ["@material-ui/core/styles" :refer [createMuiTheme]]
|
||||
; ["@material-ui/icons" :as mui-icons]
|
||||
["material-ui" :as mui]
|
||||
["material-ui/styles" :refer [createMuiTheme withStyles]]
|
||||
["material-ui/colors" :as mui-colors]
|
||||
["material-ui-icons" :as mui-icons]
|
||||
;; Scoped names require Cljs 1.10.439
|
||||
["@material-ui/core" :as mui]
|
||||
["@material-ui/core/styles" :refer [createMuiTheme withStyles]]
|
||||
["@material-ui/core/colors" :as mui-colors]
|
||||
["@material-ui/icons" :as mui-icons]
|
||||
[goog.object :as gobj]
|
||||
[reagent.impl.template :as rtpl]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue