Router

From webiny/webiny-js · View interactive version

Router is an AI agent skill from the GitHub repository webiny/webiny-js. admin/router — 6 abstractions.

How to use this skill

Skill file

admin/router

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";

Abstractions


Name: LinkComponent

Import: import { LinkComponent } from "webiny/admin/router"

Source: @webiny/app/presentation/router/components/SimpleLink.tsx


Name: RedirectComponent

Import: import { RedirectComponent } from "webiny/admin/router"

Source: @webiny/app/presentation/router/components/Redirect.tsx


Name: Route

Import: import { Route } from "webiny/admin/router"

Source: @webiny/app/features/router/Route.ts


Name: RouteLinkComponent

Import: import { RouteLinkComponent } from "webiny/admin/router"

Source: @webiny/app/presentation/router/components/RouteLink.tsx


Name: useRoute

Import: import { useRoute } from "webiny/admin/router"

Source: @webiny/app/presentation/router/index.ts


Name: useRouter

Import: import { useRouter } from "webiny/admin/router"

Source: @webiny/app/presentation/router/index.ts


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.