With StealJS, you can import this module directly in a template that is autorendered:
import plugin from "can-jsx";
Use require
to load can-jsx
and everything else
needed to create a template that uses can-jsx
:
import plugin from "can-jsx";
Load the global
version of the plugin:
<script src='./node_modules/can-jsx/dist/global/can-jsx.js'></script>