@twist/router
v0.1.1
Published
[![Build Status](https://travis-ci.org/adobe/twist-router.svg?branch=master)](https://travis-ci.org/adobe/twist-router)
Downloads
6
Readme
Twist Router
This library provides client-side routing for JavaScript applications built using Twist. This lets you manage page transitions in your application and tie these to changes in the URL. It also provides a full history service.
Installation
yarn add @twist/router
- Add
@twist/router
to the"libraries"
section of your.twistrc
.
Documentation
Please see the detailed documentation available here.
Example
To play with the example in this repository, run:
yarn install
yarn run watch
Then go to http://localhost:9000/
in your browser.