This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-06
Channels
- # beginners (32)
- # boot (17)
- # cider (4)
- # clara (112)
- # cljs-dev (3)
- # cljsjs (2)
- # clojure (222)
- # clojure-germany (3)
- # clojure-greece (1)
- # clojure-italy (4)
- # clojure-losangeles (4)
- # clojure-russia (46)
- # clojure-spec (24)
- # clojure-uk (71)
- # clojurescript (78)
- # community-development (5)
- # component (88)
- # cursive (6)
- # datomic (7)
- # duct (5)
- # figwheel (2)
- # fulcro (21)
- # graphql (22)
- # leiningen (3)
- # luminus (9)
- # off-topic (1)
- # om (16)
- # onyx (46)
- # portkey (30)
- # re-frame (47)
- # reagent (5)
- # remote-jobs (1)
- # ring (12)
- # ring-swagger (13)
- # rum (1)
- # shadow-cljs (81)
- # spacemacs (1)
- # specter (33)
- # sql (2)
- # test-check (2)
- # vim (16)
- # yada (11)
https://github.com/oliyh/re-learn/blob/master/example/checkout/checkout/app.cljs - here is an example
(def re-learn-component
(re-learn/with-lesson
{:id :basic-lesson
:description "Just testing how to use re-learn"
:position :bottom}
(fn []
[:div
[:div.h3
[:h3 "Ich bin Dhiren Serai"]]])))
(def check-re-learn
(re-learn/with-tutorial
{:id :test-tutorial
:name "check list"
:description "create your learning components"
:lessons [{:id :willkommen
:description [:div
[:h2 "Welcome"]]}
re-learn-component]}
(fn []
[:div
[:h5 "Hallo"]
[re-learn-component]])))
(defn mount-root
;;;Start of the application
[]
(re-learn/init)
(r/render [check-re-learn] (by-id "test")))
(.addEventListener js/document "deviceready"
mount-root
false)