Home  >  Article  >  WeChat Applet  >  How to register a new page in WeChat applet

How to register a new page in WeChat applet

angryTom
angryTomOriginal
2020-03-23 12:27:413902browse

How to register a new page in WeChat applet

How to register a new page in WeChat Mini Program

1. After opening a mini program project, you can see the pages folder , there are small program pages under the pages folder.

How to register a new page in WeChat applet

#2. Click this app.json file to start creating a small program blank page.

How to register a new page in WeChat applet

3. Here you can see that there is a pages array, which stores the names of each page

How to register a new page in WeChat applet

4. Add a show page. The two shows represent the show folder and the show.js file respectively.

How to register a new page in WeChat applet

5. Save the above app.json file to automatically generate it. Related files of show page.

How to register a new page in WeChat applet

In this way, a new page is registered.

PHP Chinese website, a large number of laravel tutorials, welcome to learn!

The above is the detailed content of How to register a new page in WeChat applet. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn