Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

二次开发 #5

Open
yizenghui opened this issue Jun 14, 2019 · 0 comments
Open

二次开发 #5

yizenghui opened this issue Jun 14, 2019 · 0 comments

Comments

@yizenghui
Copy link
Owner

二次开发

安装(更新) 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant