Hoplon and Javelin plugins

This commit is contained in:
mynomoto 2023-11-19 15:40:59 -03:00
parent f63d50215d
commit 0d9792abc9
8 changed files with 55 additions and 5 deletions

View file

@ -0,0 +1,9 @@
(ns scittle.hoplon
{:no-doc true}
(:require [sci.configs.hoplon.hoplon :refer [config]]
[scittle.core :as scittle]))
(defn init []
(scittle/register-plugin!
::hoplon
config))

View file

@ -0,0 +1,9 @@
[{:name scittle/hoplon
:namespaces [hoplon.core
hoplon.dom]
:js "./scittle.hoplon.js"
:shadow-config
{:modules
{:scittle.hoplon {:init-fn scittle.hoplon/init
:depends-on #{:scittle :scittle.javelin}
:entries [hoplon.core hoplon.goog]}}}}]