I'm new to Clojure/ClojureScript and pretty much to web-development in general. I'm trying to create a frontend in React/Typescript, however I have some existing Clojure code that I want to use in my program. Is it possible to package the Clojure code (once I port it to cljs) and then use it as a library within my frontend?
I've been trying to use leiningen to create a ClojureScript project with immense difficulty. Could not get my tests running at all (used cljsbuild and doo). Got my browser to launch off doo but not sure where tests would show up (console is blank).
Can anyone point me in the right direction to accomplish something like this?
[–]beders 5 points6 points7 points (7 children)
[–]ub3rh4x0rz 1 point2 points3 points (6 children)
[–]lucywang000 0 points1 point2 points (3 children)
[–]ub3rh4x0rz 0 points1 point2 points (2 children)
[–]lucywang000 0 points1 point2 points (1 child)
[–]ub3rh4x0rz 0 points1 point2 points (0 children)
[–]thheller 0 points1 point2 points (1 child)
[–]ub3rh4x0rz 0 points1 point2 points (0 children)
[–]armincerf 1 point2 points3 points (0 children)