pink-gorilla / webly

reagent/reframe application skelleton
7 stars 2 forks source link
bidi cljs reagent ring-handlers shadow-cljs websocket

Webly GitHub Actions status |pink-gorilla/weblyClojars Project

End Users this project is not for you.

run the ui demo

Clone this repo and run:

cd demo-webly
clj -X:webly:npm-install
clj -X:webly:compile
clj -X:webly:run 

The demo runs a webserver on port 8080.

A simple demo is on Webly Github Pages

features

web app

webly build

webly - how to use:

To start webly you have to pass it two parameter: profile and config

Webly Compile Profiles

Webly profile can be one of the following strings:

Webly config:

npm dependencies

Add npm dependencies that you want to use into a clojure deps.cljs

{:npm-deps
 {; font awesome
  "@fortawesome/fontawesome-free" "^5.13.0"

Sometimes github repo and npm module do not match. Check this to see what goes on: https://unpkg.com/@ricokahler/oauth2-popup-flow@2.0.0-alpha.1/index.js

unit tests

static build

  cd demo-webly
  clj -X:webly:compile  or clojure -X:webly:release-adv
  clj -X:webly:static
  cp node_modules/@icon target/static/index_files -r
 ./http-server.sh