Skip to content

[figwheel example] Using Conjure/figwheel with Eleven's codebase #20

@humorless

Description

@humorless
  1. Make sure that in onze.cljs.edn
:optimizations :none
  1. Invoke the clj in a terminal with the command like
clj -M:figwheel-cider

with alias defined as

  :figwheel-cider
  {:extra-deps {cider/cider-nrepl {:mvn/version "0.25.6"}
                cider/piggieback {:mvn/version "0.5.3"}}
   :main-opts ["-m" "nrepl.cmdline" "--middleware"
               "[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"
               "--interactive"]}
  1. In the terminal, give commands like
(start)  ;; invoke the backend application
(fw)     ;; invoke the `figwheel.main.api/start`
  1. In the Editor
:ConjurePiggieback (figwheel.main.api/repl-env "onze")
  1. To quit
:ConjureEval :cljs/quit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions