diff --git a/resources/public/index.html b/resources/public/index.html index b263969..6ee3c63 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -45,7 +45,8 @@ download your own copy and host it yourself.

-

Usage

+ +

Usage

Include sci-script-tag.js and write a script tag where type is set @@ -75,7 +76,8 @@ Click me! -

Source from file

+ +

Source from file

When you have a file on your server, say cljs/script.cljs, you can load it using the src attribute: @@ -83,7 +85,8 @@ <script src="cljs/script.cljs" type="application/x-sci"></script> -

Reagent plugin

+ +

Reagent plugin

To enable reagent, in addition to sci-script-tag.js, you need to include sci-script-tag-plugin-reagent.js.