2.0.3 • Published 7 months ago
@jeliq/app-sdk-next-router v2.0.3
Jeliq App SDK Next.js Router
This package is designed for using Next.js in applications generated with Jeliq.
Installation
$ pnpm add @jeliq/app-sdk-next-routerPackage Structure
This package exports the following components and utilities:
Providers / Hooks / Components (src/*)
- NavigationProvider: A provider component that manages the navigation state across the application.
- useNavigation / useRouter: React hooks that provide the current navigation state and navigation functions.
- Link: A link component that wraps Next.js's link component, adapted to work with Jeliq's routing configuration.
Scripts (bin/*)
- gen-app-router: Generate Next.js app router code from Jeliq routing configuration.
License
MIT