Skip to content
No description, website, or topics provided.
JavaScript Clojure CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Inspired by Thomas Heller's

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

site is a directory used by svelte, all .js files will 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 next root instead. I do not recommend mixing though.

Run shadow-cljs

npm install
# `shadow-cljs watch` is currently broken.
# npx shadow-cljs watch site
npx shadow-cljs release site

Run svelte separately

cd site
npm install
npm run dev

When done open in browser

open http://localhost:3000
You can’t perform that action at this time.