Skip to content

Proof of concept: gatsby + shadow-cljs [unmaintained]

Notifications You must be signed in to change notification settings

onestepclojure/gatsby-cljs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example showing how shadow-cljs could be used together with gatsby to create static sites in CLJS.

site is a directory create by gatsby new with all the .js files removed. They will instead be generated by shadow-cljs. I nested the site directory in the shadow-cljs project but you can also nest the shadow-cljs directory in the gatsby root instead. I do not recommend mixing though.

Run shadow-cljs

npm install
npx shadow-cljs watch gatsby

Run gatsby separately

npm install -g gatsby-cli
cd site
npm install
gatsby develop

When done open in brower

open http://localhost:8000

About

Proof of concept: gatsby + shadow-cljs [unmaintained]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 72.2%
  • Clojure 20.8%
  • JavaScript 7.0%