solid-typefu-router5
TypeScript icon, indicating that this package has built-in type declarations

1.6.3 • Public • Published

solid-typefu-router5

This package provides a router with integration with router5 and solid-js, and features type safe router and link creation. Requires TypeScript 4.1+.

Features

  • Type-safe links
  • Type-safe link parameters
  • Type-safe routing

Example Usage

Quick Start

  • Create some routes that are in the shape [[RouteTreeLike]]. See the Router5 documentation for what route objects can look like.

  • Use [[createSolidRouter]] on those routes

  • Enjoy your type-safe Link and Router components

/solid-typefu-router5/

    Package Sidebar

    Install

    npm i solid-typefu-router5

    Weekly Downloads

    0

    Version

    1.6.3

    License

    MIT

    Unpacked Size

    124 kB

    Total Files

    20

    Last publish

    Collaborators

    • _mike