Introduction to the MINA file structure of WeChat applet

不言
Release: 2018-06-22 17:33:08
Original
2056 people have browsed it

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:

##app.jsis小program logicapp.json is the public setting of app.wxssNoMini program public style sheet
Files Required Function
A frame page consists of four files, which are:

File typeRequiredFunction##jswxmlwxssjson
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 widget

The 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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template