package vue-jsoo

  1. Overview
  2. Docs

Internal JS module

class type ['a, 'b] route = object ... end

route javascript object

class type name = object ... end

route name javascript object

val to_redirect : redirect -> Mjs.any
type ('a, 'b) route_ml = {
  1. path : string;
  2. component : ('a, 'b) Vue_component.component_args option;
  3. children : (Mjs.top, Mjs.top) route Mjs.t list option;
  4. name : string option;
  5. components : ('a, 'b) Vue_component.component_args Mjs.table_cons option;
  6. redirect : redirect option;
  7. alias : string option;
  8. props : props option;
  9. hook : (Vue_nav.push_obj -> Vue_nav.push_obj -> 'b Vue_nav.next) option;
}

route object

val make_route_base : ('a, 'b) route_ml -> ('a, 'b) route Mjs.t
val make_route : ?component:('a, 'b) Vue_component.component_args -> ?children:(Mjs.top, Mjs.top) route Mjs.t list -> ?name:string -> ?components:('a, 'b) Vue_component.component_args Mjs.table_cons -> ?redirect:redirect -> ?alias:string -> ?props:props -> ?hook:(Vue_nav.push_obj -> Vue_nav.push_obj -> 'b Vue_nav.next) -> string -> ('a, 'b) route Mjs.t
class type router_args = object ... end
class type router = object ... end
val make_args_base : ?version:Version.t -> ?mode:string -> (Mjs.top, Mjs.top) route Mjs.t list -> router_args Mjs.t
val make_args : ?version:Version.t -> ?mode:string -> (Mjs.top, Mjs.top) route_ml list -> router_args Mjs.t
val make_base : ?version:Version.t -> ?mode:string -> (Mjs.top, Mjs.top) route Mjs.t list -> router Mjs.t
OCaml

Innovation. Community. Security.