Use uni-app assembly

Suppose you have a header and slider assemblies

You need to write the components in each component name value

Then main.js introduced, registered

Finally used directly in the desired page

Published 69 original articles · won praise 20 · views 9777

Guess you like

Origin blog.csdn.net/qq_41980461/article/details/103878404