Package Exports
- can-realtime-rest-model
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (can-realtime-rest-model) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
can-realtime-rest-model
Turn a map into a realtime rest model
Usage
ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'can-realtime-rest-model';
CommonJS use
Use require
to load can-realtime-rest-model
and everything else
needed to create a template that uses can-realtime-rest-model
:
var plugin = require("can-realtime-rest-model");
Standalone use
Load the global
version of the plugin:
<script src='./node_modules/can-realtime-rest-model/dist/global/can-realtime-rest-model.js'></script>