With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'bootstrap-canjs';
Use require
to load bootstrap-canjs
and everything else
needed to create a template that uses bootstrap-canjs
:
var plugin = require("bootstrap-canjs");
Load the global
version of the plugin:
<script src='./node_modules/bootstrap-canjs/dist/global/bootstrap-canjs.js'></script>
This plugin is one of many. Check out all of the DoneJS plugins on NPM.