can-import-module

1.3.2 • Public • Published

can-import-module

Build Status Greenkeeper badge

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-import-module';

CommonJS use

Use require to load can-import-module and everything else needed to create a template that uses can-import-module:

var plugin = require("can-import-module");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-import-module/dist/global/can-importer.js'></script>

/can-import-module/

    Package Sidebar

    Install

    npm i can-import-module

    Weekly Downloads

    460

    Version

    1.3.2

    License

    MIT

    Unpacked Size

    563 kB

    Total Files

    32

    Last publish

    Collaborators

    • justinbmeyer
    • matthewp
    • bmomberger-bitovi
    • cherif_b
    • stin13