You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builds a component using configuration options and then returns a function that actually instantiates and mounts it. The function could potentially accept additional configuration options to merge with it...
import{build}from'vuenit';constmount=build(c,{inject : { $router },props : {id : 1,someAction : 'foo'}});varvm1=mount();varvm2=mount({props : {id : 2}});constmount2=mount.build({// merge more options with the originals});
The question is: is the built props object replaced with the new one (so someAction is lost), or does it merge the two together?
The text was updated successfully, but these errors were encountered:
Builds a component using configuration options and then returns a function that actually instantiates and mounts it. The function could potentially accept additional configuration options to merge with it...
The question is: is the built props object replaced with the new one (so someAction is lost), or does it merge the two together?
The text was updated successfully, but these errors were encountered: