I mean something like:
<script src="dist/choo.js"></script>
<script>
// You can use choo now
var app = choo();
// app.something() ...
</script>
choo and nanohtml includes umd builds. I have set up a minimal example in codepen here.
The key is to refer the bundle files in the dist folder https://unpkg.com/choo/dist/bundle.js (notice that there is also a minified bundler version there)
It works!
_Thank you @YerkoPalma_
Most helpful comment
choo and nanohtml includes umd builds. I have set up a minimal example in codepen here.
The key is to refer the bundle files in the dist folder
https://unpkg.com/choo/dist/bundle.js(notice that there is also a minified bundler version there)