Install with npm or Yarn.
npm i radi
Then with a module bundler like Rollup or Webpack, use as you would anything else.
import { r, Component, mount } from "radi"
If you don't want to set up a build environment, you can download Radi from a CDN like unpkg.com and it will be globally available through the window.Radi object. We support all ES5-compliant browsers, including Internet Explorer 10 and above.
<script src="https://unpkg.com/radi@latest/dist/radi.min.js"></script>
<script>
const { r, Component, mount } = Radi;
...
</script>