On the global introduction of components by Mini Program

the method of introducing components given in Mini Program"s document is to introduce components through usingComponents in the pages that need to be introduced, but this does not seem to work in app.json. How to introduce components globally, there is no need to introduce

in every page.
Sep.07,2021

it can be used in the latest version of Wechat's developer tool. I have written all the components referenced by the project in hand into app.json. No problem.
this function is only added in the new version, so the tool must be the latest version, using the same method as before

.

clipboard.png

here is my app.json

  • app.json
  

how to use it, do you want to write and introduce each page

Menu