Webiny-js webiny-admin-router-catalog
install
source · Clone the upstream repo
git clone https://github.com/webiny/webiny-js
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/webiny/webiny-js "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/user-skills/generated/admin/router" ~/.claude/skills/webiny-webiny-js-webiny-admin-router-catalog && rm -rf "$T"
manifest:
skills/user-skills/generated/admin/router/SKILL.mdsource content
admin/router
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- 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