Thank you for the method downstairs, and find another way without changing app.json
.
1. Click normal compilation, and select
2.
3.
to add compilation mode.
this is Mini Program's startup mechanism.
generally, when developing that page, write it to the first one, and then put it on the back
place the current edit page first under pages in app.json, for example:
"pages":[
"pages/demo/demo",
"pages/index/index"
],
every time you save and refresh, the default is the demo page.
what if there is a subcontract?
feel the same way! It is very troublesome to develop, even if you put the current editing page in the first place under pages in app.json, you can have fewer pages, especially if you have more pages, you can restart as soon as you save them. It is very troublesome to maintain. Alas, it is even more troublesome if the page has parameters.