This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-18
Channels
- # beginners (123)
- # boot (3)
- # cider (6)
- # clara (1)
- # cljs-dev (139)
- # cljsrn (9)
- # clojure (59)
- # clojure-italy (5)
- # clojure-uk (41)
- # clojured (10)
- # clojurescript (67)
- # community-development (1)
- # component (2)
- # core-async (7)
- # cursive (4)
- # datomic (4)
- # defnpodcast (2)
- # fulcro (23)
- # graphql (1)
- # jobs (2)
- # leiningen (4)
- # off-topic (32)
- # portkey (7)
- # protorepl (5)
- # re-frame (19)
- # reagent (5)
- # reitit (23)
- # shadow-cljs (29)
- # slack-help (1)
- # spacemacs (1)
- # tools-deps (21)
- # unrepl (18)
I found an inconsistency between some code in http://book.fulcrologic.com and the source it references in fulcrologic/fulcro-getting-started. Is it best I describe it here or post an issue in GitHub?
Reading 2.4.0 changelog: “Added alpha versions of new, tighter, DOM functions that do not require props, or #js” - Yay!!!
Hi, I created a new app using lein new fulcro and it seems it uses shadow-cljs. How can I start the dev build (with cards) and server build? The book still references figwheel script (which is missing in my project), the README generated in the project also doesn’t provide any hints? What about running it from Intellij?
In fact, I’m not sure how to make it any cleaerer…I just generated an app with it, and it spells out quite specifically…here’s an excerpt:
## Development Mode
Shadow-cljs handles the client-side development build. The file
src/main/blah/client.cljs
contains the code to start and refresh
the client for hot code reload.
Running all client development builds:
$ npx shadow-cljs watch main cards test
...
shadow-cljs - HTTP server for ":main" available at
shadow-cljs - HTTP server for ":test" available at
shadow-cljs - HTTP server for ":cards" available at
...
Oh, I’m sorry - my bad - I must have opened a wrong readme as I got a blank screen in Intellij - yes it’s in the readme @tony.kay
However, I had to revert to figwheel version as I was getting strange compilation errors while using fulcrologic/semantic-ui-react-wrappers
anything you pull in has to come from NPM with shadow…I don’t know if shadow has cljsjs stubs for semantic react ui
I added fulcrologic/semantic-ui-react-wrappers and cljsjs/semantic-ui-react to project.clj main deps and during cljs compilation I was getting: error that cljsjs.semantic-ui-react namespace couldn’t be found
https://github.com/fulcrologic/semantic-ui-wrapper/blob/develop/src/cards/user.clj#L112