UNPKG

@zenithcore/core

Version:

Core functionality for ZenithKernel framework

10 lines (7 loc) 435 B
import { navigate, back, forward, prefetch, getRouterState, getCurrentRoute, getRouterStateSignal, getCurrentRouteSignal } from './utils/router-utils'; export { navigate, back, forward, prefetch }; // Export reactive state export const routerState$ = getRouterState(); export const currentRoute$ = getCurrentRoute(); export const routerStateSignal = getRouterStateSignal(); export const currentRouteSignal = getCurrentRouteSignal();