chemzqm / wept
- воскресенье, 16 октября 2016 г. в 03:14:02
JavaScript
微信小程序实时开发工具
WEPT 是一个微信小程序实时开发环境,它的目标是为小程序开发提供高效、稳定、友好、无限制的运行环境。
项目后台使用 node 提供服务完全动态生成小程序,前端实现了 view 层、service 层和控制层之间的相关通讯逻辑。
项目已支持所有小程序 API (部分为模拟实现),已测试可在 Mac 和 Win7 上正常使用。
详细原理介绍参考:
下载安装 nodejs, 请确保 node 版本 > 6.0
, 执行:
npm install wept -g
到小程序项目根目录下执行命令:
wept
使用 Chrome 访问 http://localhost:3000
打开开发者工具后启用移动页面调试模式(Mac 下快捷键为 ⌘ ⇧ M
)
使用 wept -h
命令查看更多选项
WEPT 会尽最大努力兼容小程序所有接口,如果你发现哪个接口有问题,请提 issue
WIFI
匠物 对于本工具开发给予的大力支持
Copyright 2016 chemzqm@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.