0.1.1 • Published 6 years ago

@twist/router v0.1.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

Twist Router

Build Status

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.