LocationRouter = require 'location-router'
router = new LocationRouter()
# Change url paths
router.go '/test'
router.go '/other_page'
# listen for url path changes
# returns RxJS Observable
router.getStream().subscribe (req) ->
{url, path, query, hostname} = req
This repository was archived by the owner on Jan 10, 2019. It is now read-only.
Zorium/location-router
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|