package vue-jsoo
Module Vue_routerSource
Create router object
redirect to path or to named route
Source
type push_obj = {pu_path : string option;pu_name : string option;params : (string * string) list option;query : (string * string) list option;
}route argument object for the router methods
props argument can be a bool, and object or a function
router class type
Call router methods
register hook before each navigation
register hook before each navigation confirmation
register hook after each navigation
Source
type ('a, 'b) route_ml = ('a, 'b) Internal.route_ml = {path : string;component : ('a, 'b) Vue_component.component_args option;children : (Mjs.top, Mjs.top) Internal.route Mjs.t list option;name : string option;components : ('a, 'b) Vue_component.component_args Mjs.table_cons option;redirect : redirect option;alias : string option;props : props option;hook : (push_obj -> push_obj -> (unit -> unit) -> unit) option;
}route object
make router from route list