# WeFlow **Repository Path**: jumplee/WeFlow ## Basic Information - **Project Name**: WeFlow - **Description**: 增加代理功能的weflow - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-01 - **Last Updated**: 2024-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WeFlow [![Version Number](https://img.shields.io/github/release/Tencent/WeFlow.svg?style=flat)](https://github.com/Tencent/WeFlow/ "Version Number") > 一个基于 [tmt-workflow](https://github.com/weixin/tmt-workflow) 前端工作流的工具 > 官网:[https://weflow.io/](http://weflow.io/) > 官方已经停止维护,目前为个人维护中,一般不做大的升级 ## 应用场景 一般的静态网页开发,不适合复杂项目 解决的问题: * 文件缓存 * css预编译 * 图片压缩 * ## 下载&安装 [Github Release 下载](https://github.com/weixin/WeFlow/releases) 或 [官网高速下载分流](https://weflow.io/#download) (支持 macOS / Windows / Linux 操作系统) ## 界面预览 ![Screenshot](http://ww2.sinaimg.cn/large/644eac00jw1f4hedcpqvsj21e01fednq.jpg) ## 开发环境 - Electron 版本:v8.11.0 - Node 版本 :lts * node-sass electron版本打包 打包前需要保证node-pyp可以使用,macOS需要确保python和gcc已经安装,windows可以先安装'npm install windows-build-tools -g',然后执行环境安装 ```bash npm install cd node_modules/node-sass node-gyp rebuild --runtime=electron --target=8.2.3 --dist-url=https://electronjs.org/headers #如果dist-url下载缓慢,请在命令行里使用代理。 #淘宝的镜像更新的不及时,请不要使用。 #如果使用7.0以前的electron可以使用--dist-url=https://npm.taobao.org/mirrors/atom-shell/ cp build/release/binding.node vender/darwin-x64-76 # darwin是系统号,x64是位数, # 76是electron当前node环境,请不要搞错,否则依然会提醒node-sass与当前node版本不一致 ``` ## 更新日志 [本期更新 v1.4.0](https://github.com/Tencent/WeFlow/releases) * 增加http proxy 功能,使用http-proxy-middleware模块,详细配置参考[httpProxy项目](https://gitee.com/mirrors/http-proxy-middleware) * 升级为electron8进行开发 * 不再将html文件位置限制在html文件夹,实现多文件夹访问 * 待修复bug js合并 [本期更新 v1.3.3](https://github.com/Tencent/WeFlow/releases) * 增加 ES6 编译支持 * 增加 SVG 支持 * 修复合并JS Bug [#104](https://github.com/Tencent/WeFlow/issues/104) * 服务器配置增加端口配置 * 优化编译成功时的提示,通过 Notifications 向用户发送通知 * 优化开发者工具弹出方式 [近期更新 v.1.3.2](https://github.com/Tencent/WeFlow/releases) * 更新 example * 支持 windows 32 位系统 * 支持 .svg 格式 * 增加 调试模式(菜单->窗口->调试模式) * 增加自动编译 * 修复一些 bug(不写项目名时无限弹窗、欢迎页时就拖放项目报错等) ## 参与贡献 如果你有 `Bug反馈` 或 `功能建议`,请创建 [Issue](https://github.com/weixin/WeFlow/issues) 或发送 [Pull Request](https://github.com/weixin/WeFlow/pulls),非常感谢。 [腾讯开源激励计划](https://opensource.tencent.com/contribution) 鼓励开发者的参与和贡献,期待你的加入。 ## License 所有代码采用 [MIT License](http://opensource.org/licenses/MIT) 开源,可根据自身团队和项目特点 `fork` 进行定制。 Sketch 设计稿源文件可在 [Dribbble](https://dribbble.com/hzlzh/projects/380016-WeFlow) 获取