原生框架MINA ———————————————————— 微信小程序结构 WXML(结构) WXSS(效果) js(逻辑) 在视图层和逻辑层之间提供了数据传输和事件系统。 JSON————配置文件 ———————————————————— 基本的项目目录结构:
1pages 页面文件夹
1index 首页
2index
.js 首页的逻辑文件
2index
.wxml 首页的配置文件
2index
.wxss 首页的样式文件
1logs 日志页面
2logs
.js
2logs
.wxml
2logs
.wxss
1utils
----第三方的工具js(可删除)
2app
.js 项目的全局,入口文件
2app
.json 全局配置文件
2app
.wxss 全局样式文件
2project
.config
.json 项目的配置文件,如appid
2sitemap
.json 微信索引配制文件
sitemap.json里面配置小程序能否在微信内部搜索到(发布时使用)