madvas / cljs-react-material-ui

Clojurescript library for using material-ui.com
Eclipse Public License 1.0
205 stars 32 forks source link

Unable to load the libraries. #37

Closed ingared8 closed 6 years ago

ingared8 commented 6 years ago

such namespace: cljs-react-material-ui.rum, could not locate cljs_react_material_ui/rum.cljs cljs_react_material_ui/rum.cljc, or Closure namespace "cljs-react-material-ui.rum"

Project.clj has the following dependencies included.

   [cljs-react-material-ui "0.2.48"]
                 [cljsjs/react "15.6.1-1"]
                 [cljsjs/react-dom "15.6.1-1"]

my test file is

(ns app.test
  (:require
    [cljs-react-material-ui.core :refer [get-mui-theme color]]
    [cljs-react-material-ui.icons :as ic]
    [cljs-react-material-ui.rum :as ui]
    [rum.core :as rum]))

(rum/defc thing1
          []
          [:div "content1"])

(defn home-page []
      (ui/mui-theme-provider
        {:mui-theme (get-mui-theme)}
        [:div
         (ui/app-bar {:icon-element-right (ui/icon-button (ic/action-accessibility))})
         (ui/tabs
           (ui/tab {:label "one"}
                   [:div ["hey"
                          (ui/paper "yes")]])
           (ui/tab {:label "two"} (thing1))
           (ui/tab {:label "drei"}
                   [:div
                    (ui/paper {} "Ima paper")]))]))
ingared8 commented 6 years ago

Sorry for the above issue. Leningen got stuck when I added the above libs and mislead me to create this issue.