Comments (5)
that sounds reasonable
from reagent-template.
hmm I just tried it and :init
doesn't seem to be doing anything:
rap.handler=> (browser-repl)
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: browser-repl in this context, compiling:(/private/var/folders/9k/qk6_g3cd5hlb5jgqp6fc8tcm0000gn/T/form-init2473597430966582649.clj:1:1)
java.lang.RuntimeException: Unable to resolve symbol: browser-repl in this context
if I run use
in the repl then it works
rap.handler=> (use 'rap.dev)
nil
rap.handler=> (browser-repl)
<< Started Weasel server on ws://0.0.0.0:9001 >>
Type `:cljs/quit` to stop the ClojureScript REPL
nil
I think it might make sense to set the repl to the dev ns instead of the handler in the first place, since there's really nothing interesting in the handler now.
from reagent-template.
I just updated the latest version to use :init-ns {{project-ns}}.dev
and it seems to be working with the REPL as expected.
from reagent-template.
I'm not familiar with lein's templating so maybe there's a different syntax when using quote. I pretty much just gave the example I had hoping it would be that simple. Manually adding the use
call to :init
on my project.clj
worked for me anyway.
In any case, I'd be quite satisfied too with having the REPL start in the dev namespace. It does make more sense.
from reagent-template.
ok great, the latest version should be working as expected then. :)
from reagent-template.
Related Issues (20)
- Replace sass plugin
- Replace less plugin HOT 1
- Routing atom should be defined with defonce HOT 2
- Lein run not working HOT 2
- Testing a new project using Reagent 0.8.0 fails
- lein repl crashes on clean app HOT 3
- Prone does not work out of the box HOT 5
- :minify-assets has the wrong syntax HOT 2
- lein repl crashes on clean app that uses cider
- Can't make project name with underscore HOT 2
- Error with shadow-cljs option HOT 2
- a uberjar bug HOT 1
- Range input onChange event doesn't fire at midpoint
- Indicate that the system.properties file is for Heroku HOT 1
- google group? HOT 1
- Insufficient Java heap space on Windows HOT 2
- Could someone please explain the structure of the generated code? HOT 1
- License file in generated project HOT 5
- ClassNotFoundException when running shadow-cljs watch app HOT 2
- Cannot find module '@cljs-oss/module-deps' during `lein new reagent x` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reagent-template.