当前位置:网站首页>微信小程序开发
微信小程序开发
2022-07-26 09:22:00 【~轻舟~】
微信小程序
点击开发者工具左侧导航的“编辑”,我们可以看到这个项目,已经初始化并包含了一些简单的代码文件。最关键也是必不可少的,是 app.js、app.json、app.wxss 这三个。其中,.js后缀的是脚本文件,.json后缀的文件是配置文件,.wxss后缀的是样式表文件。微信小程序会读取这些文件,并生成小程序实例。
我们使用app.json文件来对微信小程序进行全局配置,决定页面文件的路径、窗口表现、设置网络超时时间、设置多 tab 等。
以下是一个包含了所有配置选项的 app.json
边栏推荐
- Sliding window, double pointer, monotone queue, monotone stack
- QT | about how to use EventFilter
- 您的登录IP不在管理员配置的登录掩码范围内
- Server memory failure prediction can actually do this!
- "No input file specified" problem handling
- 【线上问题】Timeout waiting for connection from pool 问题排查
- 760. String length
- Mysql事务
- 异常处理机制二
- Does volatile rely on the MESI protocol to solve the visibility problem? (next)
猜你喜欢
随机推荐
Codeworks DP collection
Polynomial open root
李沐d2l(六)---模型选择
Li Mu D2L (IV) -- softmax regression
js中树与数组的相互转化(树的子节点若为空隐藏children字段)
Basic use of ArcGIS 1
NTT(快速数论变换)多项式求逆 一千五百字解析
redis原理和使用-安装和分布式配置
Pat grade a a1076 forwards on Weibo
Arc GIS basic operation 3
Selection and practice of distributed tracking system
Summary of common activation functions for deep learning
Does volatile rely on the MESI protocol to solve the visibility problem? (next)
Bloom filter
[shutter -- layout] detailed explanation of the use of align, center and padding
什么是异步操作
Elastic APM installation and use
Elastic APM安装和使用
JS output diamond on the console
js在控制台输出菱形








