Get the App
SLTechnology News&Howtos  ›  Development  › 

How to set up WeChat Mini Programs's first-level and second-level pages

Shulou Source: shulou.com Published: 2022-06-01 05:38:04 11月14日 Update

Today, the editor will share with you the relevant knowledge points about how to set up WeChat Mini Programs's first-level page and second-level page. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article, let's take a look at it.

In the development of WeChat Mini Programs, a new page is built and the pages property is set in app.json. When running, an error occurs.

Reason for reporting an error:

This is because, in WeChat Mini Programs, the order of the routes in the app.json, such as the general secondary interface, is written at the bottom of the primary interface, never at the end.

Solution:

The page routes in app.json are displayed downward in first-and second-level order.

The solution is shown in the figure:

These are all the contents of the article "how to set up WeChat Mini Programs's first-level page and second-level page". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Tags: Programs pages knowledge articles content methods interfaces routing order different big reason most that is attributes more end knowledge points industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Docker macOS OPPO Reno MariaDB