wecontr icon indicating copy to clipboard operation
wecontr copied to clipboard

二次开发

Open yizenghui opened this issue 6 years ago • 0 comments

二次开发

安装(更新) wepy 命令行工具。 npm install wepy-cli -g

获取小程序端代码 git clone https://github.com/yizenghui/wxcms.git

或者下载文件并解压 https://github.com/yizenghui/wxcms/archive/master.zip

进入根目录 cd wxcms

安装依赖 npm install

开发实时编译 wepy build --watch

修改小程序配置 src/app.wpy

api_token: '0RPJhqvW6gMp',

修改0RPJhqvW6gMp为由 https://readfollow.com/admin/auth/setting#tab-form-2 所获得的 api token

开发者工具导入项目

选择根目录中的 dist 为代码目录

注意:请关闭 ES6 转 ES5

yizenghui avatar Jun 14 '19 11:06 yizenghui