当前位置:网站首页>Applet directory structure
Applet directory structure
2022-07-07 14:26:00 【InfoQ】
Directory structure

- pages: Under this directory is the page of the applet
- utils: What is stored here is public js, Providing a common way to reduce redundancy and maintenance difficulty
- app.js: The overall situation related to the whole wechat applet js, Here are the lifecycle functions and global variables that monitor the entire applet ;
- app.json: It is the static global configuration of the entire applet , We can configure which pages the applet consists of in this file ( route ), Configure the window background color for the applet 、 Configure the navigation bar style , Configure the default title , You can configure the style of the whole project , Timeout time , Loaded plug-ins, etc ;( Note that no comments can be added to this file );
- app.wxss file : The style file of the whole applet , For each page css The content of the file is different , Loaded into the corresponding page css style , Current page wxss The file will be overwritten app.wxss file ( It's estimated to be ordinary css The coverage rules of styles are similar ).
- project.config.json file : This is actually a project generated by every developer tool , But it is not particularly relevant to the project content , It mainly records the configuration of relevant tools , Any configuration made on the tool will be written to this file , When reinstalling tools or changing computers , Just load the code package of the same project , The developer tool will automatically help you recover to the personalized configuration when you developed the project , It will include the editor's color 、 A series of options such as automatic compression when uploading code .
- sitemap.json file : This can be configured to allow Indexing by wechat , See wechat official documents for details -sitemap To configure
- wxs
- png
- jpg
- jpeg
- gif
- svg
- json
- cer
- mp3
- aac
- m4a
- mp4
- wav
- ogg
- silk
- wasm
- br
- cert
边栏推荐
- 杭电oj2092 整数解
- MLGO:Google AI发布工业级编译器优化机器学习框架
- Multi merchant mall system function disassembly lecture 01 - Product Architecture
- wpf dataGrid 实现单行某个数据变化 ui 界面随之响应
- 一文读懂数仓中的pg_stat
- 請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
- Clickhouse (03) how to install and deploy Clickhouse
- Bashrc and profile
- Navigation — 这么好用的导航框架你确定不来看看?
- Interface automation test - solution of data dependency between interfaces
猜你喜欢
多商戶商城系統功能拆解01講-產品架構
Transferring files between VMware and host
docker部署oracle
【立体匹配论文阅读】【三】INTS
LeetCode每日一题(636. Exclusive Time of Functions)
Horizontal of libsgm_ path_ Interpretation of aggregation program
OAuth 2.0 + JWT protect API security
SAKT方法部分介绍
小米的芯片自研之路
GAN发明者Ian Goodfellow正式加入DeepMind,任Research Scientist
随机推荐
The meaning of variables starting with underscores in PHP
c#利用 TCP 协议建立连接
Analysis of arouter
Leetcode——剑指 Offer 05. 替换空格
Navigation — 这么好用的导航框架你确定不来看看?
Source code analysis of ArrayList
libSGM的horizontal_path_aggregation程序解读
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
WPF DataGrid realizes the UI interface to respond to a data change in a single line
Reading and understanding of eventbus source code
UML 状态图
Excuse me, when using Flink SQL sink data to Kafka, the execution is successful, but there is no number in Kafka
【愚公系列】2022年7月 Go教学课程 005-变量
bashrc与profile
Vscode configuration uses pylint syntax checker
杭电oj2092 整数解
Demis Hassabis谈AlphaFold未来目标
Codes de non - retour à zéro inversés, codes Manchester et codes Manchester différentiels couramment utilisés pour le codage des signaux numériques
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
LeetCode每日一题(636. Exclusive Time of Functions)