Reference > Admin > Router
Router
Router components and hooks
WHAT YOU'LL LEARN
- What is exported from
webiny/admin/router? - How to import and use each exported item?
Overview
This page documents everything exported from webiny/admin/router. Import any of the items below directly from this path in your Webiny extensions.
Components
Route
Class — imported from webiny/admin/router
Hooks
useRoute
Function — imported from webiny/admin/router
useRouter
Constant — imported from webiny/admin/router