This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-14
Channels
- # announcements (6)
- # architecture (5)
- # aws (4)
- # beginners (79)
- # boot (3)
- # boot-dev (7)
- # calva (21)
- # cider (17)
- # cljdoc (12)
- # clojure (83)
- # clojure-art (2)
- # clojure-belgium (2)
- # clojure-brasil (1)
- # clojure-estonia (2)
- # clojure-europe (3)
- # clojure-finland (5)
- # clojure-india (2)
- # clojure-italy (49)
- # clojure-losangeles (1)
- # clojure-nl (12)
- # clojure-spec (120)
- # clojure-sweden (2)
- # clojure-switzerland (4)
- # clojure-uk (31)
- # clojurescript (80)
- # data-science (17)
- # datavis (2)
- # datomic (31)
- # emacs (31)
- # figwheel-main (28)
- # fulcro (6)
- # jobs (2)
- # liberator (7)
- # luminus (1)
- # nrepl (2)
- # off-topic (51)
- # overtone (2)
- # pathom (4)
- # re-frame (28)
- # reitit (1)
- # rum (6)
- # shadow-cljs (26)
- # specter (2)
- # tools-deps (33)
- # yada (3)
Hi, does anyone have an example of Figwheel Main on Nodejs with some external deps like e.g. Express? I got the very basic stuff working like repl in Cider but using Node deps eludes me so far and the webpack + npm tutorial seems a little complicated.
Btw. I'm using Linux and nvm for node and seems I have to specify node-command though ts in my path
Also Cider suggests a config like :dev but obviously they are named just dev, test et by the template. It also gives a very confusing error message
Is it possible to configure compiler options for lein fig:min
? I want to add an externs.js file.
@grumplet My understanding is that <build-id>.cljs.edn files, such as dev.cljs.edn are where you put compiler options.
@jayzawrotny Thanks - will try.
@grumplet https://github.com/kwladyka/form-validator-cljs/blob/doc/dev.cljs.edn here in last map you can set compilator options
I’m trying to use npm-deps feature but I fail. Is there some tutorial or blog which describes the process of integrating 3rd party library based on react?
^{:watch-dirs ["test" "src"]
:css-dirs ["resources/public/css"]
:auto-testing true}
{:main some-example.core
:npm-deps {"react-text-loop" "2.0.1"}
:verbose true
:install-deps true}
As I can see cljs_deps.js does not contain the dependency react-text-loop but cljs$node_modules.js does.@kwcharllie379 https://github.com/kwladyka/form-validator-cljs/tree/doc this repo use npm deps in right way IMO
https://github.com/kwladyka/form-validator-cljs/blob/doc/src/js/index.js here is the hardest part
Does it work perfectly fine with the advanced compilation?
BTW I will appreciate feedback about this module (look at master branch) 😉 I did it, but I have issue about make it popular, because I am not famous 😛
It is more useful for people as example of fighweel-main, than for what was my intention
Got a one question. about this one. What if rum requires react? Doesn’t the compilation will include react both times?
ok i See
you excluded cljsjs/react and react-dom
You’re smart guy!