Create auto rendering React components with observable stores
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'can-x';
Use require
to load can-x
and everything else
needed to create a template that uses can-x
:
var plugin = require("can-x");
Load the global
version of the plugin:
<script src='./node_modules/can-x/dist/global/can-x.js'></script>