Skip to content

cspraggett/othello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClojureScript Starter

A minimal clojurescript + reagent project (using shadow-cljs)

Getting Started

  • install node

  • clone this repo

  • in terminal, from within this repo:

    • npm install
  • if using VSCode+Calva:

    • click "nREPL" in the bottom bar
    • when prompted, select 'Start a REPL...'
    • when prompted, select ':dev'
    • (wait)
    • when prompted with 'Select which build to connect to', select ':dev'
    • open http://localhost:8080
    • you should now be able to evaluate code in REPL window that opens, or directly from files (via keyboard shortcuts)
  • if using Vim+Fireplace

    • npm start
    • (wait)
    • open http://localhost:8080
    • in Vim, enter the command: :Piggieback :dev
    • you should now be able to evaluate code (via :Require, cpp, or c!!)
  • edit ./src/demo/core.cljs (ex. change "Hello World" to "Hello Bob")

  • you should see it live-update in the browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published