Route helpers for can-stache
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
.editorconfig
.gitignore
.jshintrc
.npmignore
.npmrc
.travis.yml
.yo-rc.json
CONTRIBUTING.md
LICENSE
README.md
can-stache-route-helpers-test.js
can-stache-route-helpers.js
package.json
test.html

README.md

can-stache-route-helpers

Build Status Greenkeeper badge

helpers for can-route

Usage

ES6 use

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

import plugin from "can-stache-route-helpers";

CommonJS use

Use require to load can-stache-route-helpers and everything else needed to create a template that uses can-stache-route-helpers:

import plugin from "can-stache-route-helpers";

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-stache-route-helpers/dist/global/can-stache-route-helpers.js'></script>