提高组局效率
使用Lin UI组件来搭建主要界面
-
安装模块
npm install
点击工具选项,选择构建npm,生成miniprogram_npm文件夹
-
配置中引入
{ "usingComponents":{ "l-button":"/miniprogram_npm/lin-ui/button/index" }
-
页面中使用
<l-button type="default">默认按钮</l-button>
-
项目配置勾选 增强编译
使用Mock来模拟评论区数据
调试器面板选中Mock
导入根目录下的mock.config.json
完成进度:首页页面和房间页面
讨论区页面