This package has been deprecated

Author message:

move to @the-/ui-router ( https://github.com/the-labo/the/tree/master/packages/ui-router#readme )

the-router

3.0.4 • Public • Published

the-router

Build Status npm Version JS Standard

Router of the-components

Installation

$ npm install the-router --save

Usage

'use strict'

import React from 'react'
import { TheRouter } from 'the-router'
import { TheRoute } from 'the-route'

class ExampleComponent extends React.Component {
  render () {
    return (
      <TheRouter>
        <TheRoute path='/foo'>
          <div>
            hoge
          </div>
        </TheRoute>
      </TheRouter>
    )
  }
}

export default ExampleComponent

Components

TheRouter

Router of the-components

TheRouterStyle

Style for TheRouter

Props

Name Type Description Default
options object Style options {}

License

This software is released under the MIT License.

Links

/the-router/

    Package Sidebar

    Install

    npm i the-router

    Weekly Downloads

    11

    Version

    3.0.4

    License

    MIT

    Unpacked Size

    62.1 kB

    Total Files

    26

    Last publish

    Collaborators

    • okunishinishi