I want to separate development and production environment variables for my shadow-cljs which is running in conjunction with a lein app through the Luminus template. My production environment is a docker container running on heroku.
It should work in…
I installed shadow-cljs as follows:
npm install -g shadow-cljs
Then I created a shadow-cljs.edn file, with the following:
[{:id "app"
:source-paths ["src/cljs" "src/cljc" "dev"]
:figwheel {:on-jsload…
I have a ClojureScript project with the following barebone frontend app (main being the entry point):
(ns shadowman.app
(:require
;; [cljs-http.client :as http]
;; [reagent.core :as r]
))
(defn main
""
[]
(js/console.log "hi from…
I have a ClojureScript project using shadow-cljs. In this project I am using the NPM package @material-ui, which works fine.
Now I would like to use react-swipeable-views. Therefor I have extended my package.json:
"dependencies": {
…
I'm following the Fulcro 3 Dev Guide, section Using Javascript React Components, with the Fulcro Template project, trying to import the Material-UI React components.
I added the package with npm install --save @material-ui/core and modified the…
I have created a ClojureScript project using:
lein new re-frame my-project
I've then opened it in IntelliJ using Cursive. In the terminal after typing lein dev, it prompts me with the message:
shadow-cljs - HTTP server available at…
I want to use a cluster plugin for Leaflet. Since I am using ClojureScript I guess I need a React implementation. I have tried all of the available packages at npm. They all fail at one point or another, sometimes bable throws an error or some…
I currently have 2 shadow-cljs projects with 2 different ways to manage their dependencies to npm libraries.
One uses the default shadow-cljs.edn configuration :js-options {:js-provider :shadow}, we will call it project A.
The other, we will call it…
I am currently trying to use the WalletConnect v2.0 library using Web3Modal SDK in a clojuscript project with shadow-cljs. To do this I followed the standalone installation: Web3Modal Standalone Installation
I installed the libraries with npm :
npm…
I have a simple clojurescript application that I want to export to an already established application using a javascript - express - framework.
I can't figure out how I should call my ClojureScript export inside JavaScript. How should I go about…
I have been dealing with this Clojure/Clojurescript project called clojurescript.csv.
On the project.clj file there is a special form of construction for :cljsbuild which I haven't seen yet.
:cljsbuild {:builds [{:id "whitespace"
…
I have been working on a Clojure/ClojureScript project and something intrigues me.
On the shadow-cljs.edn file, there is a declaration of the
dependencies. As you might see below, some of them have "a full name"
declaration, indicated as…
The component is loaded correctly with the initial data, but the data does not change when the state is changed from the interface, what can I be doing wrong?
(ns ui.pivottable.react-pivottable
(:require ["react-pivottable/PivotTableUI" :default…
I use the emacs to start or connect clojurescript but show error:
error in process filter: ClojureScript is not available. See https://docs.cider.mx/cider/basics/clojurescript for details
In terminal I use `npx shadow-cljs watch main` to start…
I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project.
Currently, the project uses project.clj and shadow-cljs.edn to declare dependencies.
There…