In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what files are made up of the main part of Mini Program and the page", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn what the main part of Mini Program and the page are composed of.
File structure
Mini Program contains an app that describes the overall program and a number of page that describe their respective pages.
The main body of a Mini Program consists of three files, which must be placed in the root directory of the project, as follows:
The role of required documents
App.js is Mini Program logic
App.json is the Mini Program public setting
App.wxss No Mini Program Common style sheet
A Mini Program page consists of four files, namely:
Required role of file type
Js is page logic
Wxml is the page structure
Wxss No Page style sheet
Json No Page configuration
Note: to make it easier for developers to reduce configuration items, the four files that describe the page must have the same path and file name.
At this point, I believe you have a deeper understanding of what the main part of Mini Program and the page are made of. You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.