/wept

微信小程序 web 端实时运行工具

Primary LanguageJavaScript

WEPT (Wechat app page development tool)

Join the chat at https://gitter.im/we-wept/Lobby NPM version Average time to resolve an issue Percentage of issues still open

项目作者已无力继续维护,建议使用官方开发工具,感兴趣接手者可发私信到知乎:chemzqm

WEPT 是一个微信小程序实时开发环境,它的目标是为小程序开发提供高效、稳定、友好、无限制的运行环境。

项目后台使用 node 提供服务完全动态生成小程序,前端实现了 view 层、service 层和控制层之间的相关通讯逻辑。

支持 Mac, Window 以及 Linux

主要特性

  • 支持 wxml, wxss, javascript 和 json 保存后热更新
  • 支持系统 notification 更早提示构建和请求错误
  • 使用后台转发 XMLHttpRequest 请求,无需配置 CORS, 可 配置代理
  • 支持 所有小程序公开 API
  • 可使用 Chrome 移动页面调试,可在移动端体验
  • 支持 appData 和 storage 面板,需下载 Chrome 插件

one

安装 & 使用方法

npm i wept -g

如安装较慢,可使用 cnpm

到小程序项目根目录下执行命令:

cd case && wept

使用 Chrome 访问 http://localhost:3000 打开开发者工具后启用移动页面调试模式(Mac 下快捷键为 ⌘ ⇧ M

感谢

匠物 对于本工具开发给予的大力支持❤️

LICENSE

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.