Steps to use WeChat Mini Program custom components

Steps to use WeChat Mini Program custom components

insert image description here

Define the component under the components folder, and declare it under the json folder of the page where the component is located
insert image description here

Delete the previous one and replace it with the sidebar component.
insert image description here

Guess you like

Origin blog.csdn.net/shgzzd/article/details/124999378