Home > front end >  Vue components encapsulation
Vue components encapsulation

Time:11-26

How do the common component encapsulation? How to solve the problem of method calls, the parent component name of the method may be different, if guarantee each parent component related in the same way, but will there be other questions

CodePudding user response:

Have no one... ...

CodePudding user response:

Description is not clear what are you doing

CodePudding user response:

Child components button to parent expose a method, the parent of any name can be, the button name can also be from incoming, this isn't difficult at all
  • Related