search
HomeWeChat AppletMini Program DevelopmentWeChat applet MINA file structure

File structure

The framework program contains 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:

File Required Function

app .js Yes Mini Program Logic

app.json Yes Mini Program Public Settings

app.wxss No Mini Program Public Style Sheet

A frame page consists of four files. They are:

## Text type Required Function

js Yes Page logic

wxml Yes Page structure

wxss No Page style Table

json 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 content of the WeChat applet MINA file structure. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function