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