Add support for re-frame (#46)
* Bump sci.configs for re-frame * Update changelog Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
This commit is contained in:
parent
623e9707bd
commit
ec81500dcb
|
@ -2,6 +2,9 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
- Add `scittle.re-frame` plugin. This gives access to the
|
||||
[re-frame](https://github.com/day8/re-frame) library.
|
||||
|
||||
- Fix for [44](https://github.com/babashka/scittle/issues/44): Honoring `SCITTLE_NREPL_WEBSOCKET_PORT` in `scittle.nrepl`
|
||||
- Add all public vars of `cljs-ajax` `ajax.core`
|
||||
- Upgrade several built-in libraries
|
||||
|
|
3
deps.edn
3
deps.edn
|
@ -6,12 +6,12 @@
|
|||
:git/sha "914919f248b7e3fc2ec59c435320145f588899d0"}
|
||||
#_{:local/root "../babashka/sci"}
|
||||
reagent/reagent {:mvn/version "1.1.1"}
|
||||
re-frame/re-frame {:mvn/version "1.3.0"}
|
||||
cljsjs/react {:mvn/version "18.2.0-1"}
|
||||
cljsjs/react-dom {:mvn/version "18.2.0-1"}
|
||||
cljsjs/react-dom-server {:mvn/version "18.2.0-1"}
|
||||
cljs-ajax/cljs-ajax {:mvn/version "0.8.4"}
|
||||
funcool/promesa {:mvn/version "9.1.540"}
|
||||
|
||||
io.github.babashka/sci.nrepl
|
||||
#_{:local/root "../sci.nrepl"}
|
||||
{:git/url "https://github.com/babashka/sci.nrepl"
|
||||
|
@ -19,7 +19,6 @@
|
|||
io.github.babashka/sci.configs
|
||||
{:git/url "https://github.com/babashka/sci.configs"
|
||||
:git/sha "2717e545e5a61d4cccd85350b9ad6265afc9146c"}}
|
||||
|
||||
:aliases
|
||||
{:dev
|
||||
{:extra-paths ["dev"]
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
:depends-on #{:scittle}}
|
||||
:scittle.promesa {:entries [scittle.promesa]
|
||||
:depends-on #{:scittle}}
|
||||
:scittle.re-frame {:entries [scittle.re-frame]
|
||||
:depends-on #{:scittle}}
|
||||
:scittle.pprint {:entries [scittle.pprint]
|
||||
:depends-on #{:scittle}}
|
||||
:scittle.reagent {:entries [scittle.reagent]
|
||||
|
|
8
src/scittle/re_frame.cljs
Normal file
8
src/scittle/re_frame.cljs
Normal file
|
@ -0,0 +1,8 @@
|
|||
(ns scittle.re-frame
|
||||
(:require
|
||||
[sci.configs.re-frame.re-frame :as rf]
|
||||
[scittle.core :as scittle]))
|
||||
|
||||
(scittle/register-plugin!
|
||||
::re-frame
|
||||
rf/config)
|
Loading…
Reference in a new issue