1.

What are Vue.js props?

Answer»

In VUE JS, Props are the process in which developers pass DATA from a parent component to its child components (downward). The Props are added to the components in the section of the code.

 

 

 

 

Here, we are passing the PROPcool-prop” a VALUE of “EXAMPLE”, which can be ACCESSED from inside of my-component.



Discussion

No Comment Found