(When scaffolding) of the custom component VUE

Three steps,

1, create components (pagePreLoading.vue), configure routing

2, the assembly is introduced into the parent file (Door.vue), and then register the assembly of the components

3, this component is added in the appropriate location of the parent file

Guess you like

Origin www.cnblogs.com/sylys/p/12098016.html