Home >WeChat Applet >Mini Program Development >Introduction to the MINA file structure of WeChat applet
This article mainly introduces the relevant information about the MINA file structure of the WeChat applet. Here is a detailed introduction to the file directory and file functions of the WeChat applet. Friends in need can refer to the following
File structure
The framework program includes an app that describes the overall program and multiple pages that describe their respective pages.
The main part of a framework program consists of three files, which must be placed in the root directory of the project, as follows:
Files | Required | Function |
---|---|---|
is | 小program logic | |
is the public setting of | ||
No | Mini program public style sheet |
Required | Function | |
---|---|---|
is | Page logic | |
is | page structure | |
No | Page style sheet | |
No | Page configuration |
Note: In order to facilitate developers to reduce configuration items, we stipulate that the four files describing the page must have the same path and file name. The above is the entire content of this article. I hope it will be helpful to everyone's study. For more related content, please pay attention to the PHP Chinese website!
Related recommendations:
WeChat Mini Program The hidden secrets of devtool#WeChat applet Make your own widgetThe above is the detailed content of Introduction to the MINA file structure of WeChat applet. For more information, please follow other related articles on the PHP Chinese website!