Vue_component.MakeSourcefunctor to create a component with typecheck of input data
module S : sig ... endval load :
?export:bool ->
?data:(all Mjs.t -> S.data Mjs.t) ->
?computed:(string * (all Mjs.t -> Mjs.any Mjs.optdef)) list ->
?methods:(string * Mjs.any) list ->
?watch:(string * (all Mjs.t -> Mjs.any -> Mjs.any -> Mjs.any)) list ->
?components:(string * (Mjs.top, Mjs.top) Internal.component_arg Mjs.t) list ->
unit ->
all componentload the component from previously added methods/watch/computed
Unsafe functions