Skip to content

rindojs/rindo-router

Repository files navigation

npm

Rindo Router

A simple router, inspired by React Router v4, for Rindo apps and vanilla Web Component apps.

<rindo-router>
  <rindo-route-switch scrollTopOffset={0}>
    <rindo-route url="/" component="landing-page" exact={true} />
    <rindo-route url="/demos" component="demos-page" />
    <rindo-route url="/other" component="other-page" />
    <rindo-route component="page-not-found" />
  </rindo-route-switch>
</rindo-router>

About

A simple router for Rindo apps and sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages