当前位置:网站首页>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
边栏推荐
- MLGO:Google AI发布工业级编译器优化机器学习框架
- 请问,PTS对数据库压测有好方案么?
- OAuth 2.0 + JWT 保护API安全
- 一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
- Multi merchant mall system function disassembly lecture 01 - Product Architecture
- Use day JS let time (displayed as minutes, hours, days, months, and so on)
- LeetCode 648. Word replacement
- Vscode configuration uses pylint syntax checker
- UML sequence diagram (sequence diagram)
- 小程序目录结构
猜你喜欢
UML 顺序图(时序图)
AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
Use day JS let time (displayed as minutes, hours, days, months, and so on)
Docker deploy Oracle
Substance painter notes: settings for multi display and multi-resolution displays
JS get the current time, month, day, year, and the uniapp location applet opens the map to select the location
SAKT方法部分介绍
Mrs offline data analysis: process OBS data through Flink job
docker部署oracle
随机推荐
Vmware共享主机的有线网络IP地址
NDK beginner's study (1)
[untitled]
IP address home location query full version
今日睡眠质量记录78分
Wired network IP address of VMware shared host
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
Bashrc and profile
数据流图,数据字典
NLLB-200:Meta开源新模型,可互译200种语言
oracle 触发器实现级联更新
When FC connects to the database, do you have to use a custom domain name to access it outside?
bashrc与profile
oracle 非自动提交解决
Differences between cookies and sessions
Multi merchant mall system function disassembly lecture 01 - Product Architecture
课设之百万数据文档存取
请问,redis没有消费消息,都在redis里堆着是怎么回事?用的是cerely 。
Hangdian oj2054 a = = B? ???
3D detection: fast visualization of 3D box and point cloud