Giter Site home page Giter Site logo

pez / calva-clojurescript-usage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danieroux/calva-clojurescript-usage

0.0 1.0 0.0 35 KB

How I would like to use Calva, nREPL and figwheel-main together

Makefile 19.82% Clojure 44.82% JavaScript 28.31% HTML 7.04%

calva-clojurescript-usage's Introduction

Getting started with Calva

  1. Start a Clojure REPL: make repl (a VS Code integrated terminal works great for this.)
  2. Wait for the message `nREPL server started on port ...
  3. Connect the REPL via the "Connect to a Running REPL Server in the Project" command in VS Code.
    • Choose "My local build" as the connection type
    • Press enter at the next prompt which is prefilled with `localhost:
  4. Wait for the app to compile and open in your browser (opens on http://localhost:9010)
    • Close the alert displayed
  5. Wait for the Calva output/repl window to display ; Connected session: cljs
  6. Load src/main/repro/ui/core.cljs (open it and use the command Calva: Load file and dependencies)
  7. Also load dev/tooling/portal.cljs, and confirm that portal opens in a web browser window.
  8. Then evaluate the two forms in the rich comment block at the bottom of the file:
    (comment
      (open-portal)
      (tap> "Tap, tap! Who's there?"))

calva-clojurescript-usage's People

Contributors

danieroux avatar pez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.