{"id":13442036,"url":"https://github.com/Tencent/wepy","last_synced_at":"2025-03-20T13:31:55.613Z","repository":{"id":38420826,"uuid":"73681508","full_name":"Tencent/wepy","owner":"Tencent","description":"小程序组件化开发框架","archived":false,"fork":false,"pushed_at":"2023-09-19T02:09:28.000Z","size":9541,"stargazers_count":22553,"open_issues_count":384,"forks_count":3050,"subscribers_count":724,"default_branch":"master","last_synced_at":"2024-11-25T09:37:08.606Z","etag":null,"topics":["weapp","wepy"],"latest_commit_sha":null,"homepage":"https://wepyjs.gitee.io/wepy-docs/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tencent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-11-14T08:06:56.000Z","updated_at":"2024-11-25T05:56:13.000Z","dependencies_parsed_at":"2023-02-17T12:46:01.832Z","dependency_job_id":"da89ba92-bd6f-47d4-a9a3-3f7dc09ca812","html_url":"https://github.com/Tencent/wepy","commit_stats":{"total_commits":2225,"total_committers":190,"mean_commits":"11.710526315789474","dds":0.3671910112359551,"last_synced_commit":"96ab19ebeba1abff35a6ebc08e674b63f2f16461"},"previous_names":["wepyjs/wepy"],"tags_count":198,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fwepy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fwepy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fwepy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tencent%2Fwepy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tencent","download_url":"https://codeload.github.com/Tencent/wepy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793058,"owners_count":19697893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["weapp","wepy"],"created_at":"2024-07-31T03:01:40.971Z","updated_at":"2025-03-20T13:31:55.572Z","avatar_url":"https://github.com/Tencent.png","language":"JavaScript","funding_links":[],"categories":["HarmonyOS","大厂开源","JavaScript",":mortar_board: 搜罗一切酷酷的东西","前端开发框架及项目","置顶","微信小程序WePY框架开发资源汇总 ![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)","工具","UI模板","2. JavaScript 框架汇总","Projects List"],"sub_categories":["Windows Manager","腾讯开源","其他_文本生成、文本对话","**awesome-wepy，awesome for WePY！**","3、小程序模板"],"readme":"[English](./README_EN.md) | 简体中文\n\n## WePY 2 (beta)\n\n[![npm version](https://badge.fury.io/js/wepy.svg)](https://badge.fury.io/js/wepy)\n[![travis-ci](https://travis-ci.org/Tencent/wepy.svg?branch=1.7.x)](https://travis-ci.org/Tencent/wepy)\n![Github CI](https://github.com/Tencent/wepy/workflows/WePY%20CI%20Build/badge.svg?branch=2.0.x)\n[![Coverage Status](https://coveralls.io/repos/github/Tencent/wepy/badge.svg?branch=1.7.x)](https://coveralls.io/github/Tencent/wepy?branch=1.7.x)\n[![Dependency Status](https://david-dm.org/Tencent/wepy.svg)](https://david-dm.org/Tencent/wepy)\n\n### 介绍\n\nWePY 资源汇总：[awesome-wepy](https://github.com/aben1188/awesome-wepy)\n\nWePY (发音: /'wepi/)是一款让小程序支持组件化开发的框架，通过预编译的手段让开发者可以选择自己喜欢的开发风格去开发小程序。框架的细节优化，Promise，Async Functions 的引入都是为了能让开发小程序项目变得更加简单，高效。\n\n同时 WePY 也是一款成长中的框架，大量吸收借鉴了一些优化前端工具以及框架的设计理念和思想。如果 WePY 有不足地方，或者你有更好的想法，欢迎提交 ISSUE 或者 PR。\n\n\n### 特性：\n\n- 类 Vue 开发风格\n- 支持自定义组件开发\n- 支持引入 NPM 包\n- 支持 [Promise](https://github.com/wepyjs/wepy/wiki/wepy%E9%A1%B9%E7%9B%AE%E4%B8%AD%E4%BD%BF%E7%94%A8Promise)\n- 支持 ES2015+ 特性，如 [Async Functions](https://github.com/wepyjs/wepy/wiki/wepy%E9%A1%B9%E7%9B%AE%E4%B8%AD%E4%BD%BF%E7%94%A8async-await)\n- 支持多种编译器，Less/Sass/Stylus/PostCSS、Babel/Typescript、Pug\n- 支持多种插件处理，文件压缩，图片压缩，内容替换等\n- 支持 Sourcemap，ESLint 等\n- 小程序细节优化，如请求列队，事件优化等\n\n### Demo\n\n```html\n\u003cstyle lang=\"less\"\u003e\n@color: #4D926F;\n  .num {\n  color: @color;\n  }\n\u003c/style\u003e\n\u003ctemplate\u003e\n  \u003cdiv class=\"container\"\u003e\n    \u003cdiv class=\"num\" @tap=\"num++\"\u003e\n      {{num}}\n    \u003c/div\u003e\n    \u003ccustom-component\u003e\u003c/custom-component\u003e\n    \u003cvendor-component\u003e\u003c/vendor-component\u003e\n    \u003cdiv\u003e{{text}}\u003c/div\u003e\n    \u003cinput v-model=\"text\"/\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\u003cconfig\u003e\n{\n  usingComponents: {\n    customComponent: '@/components/customComponent',\n    vendorComponent: 'module:vendorComponent'\n  }\n}\n\u003c/config\u003e\n\n\u003cscript\u003e\n  import wepy from '@wepy/core';\n\n  wepy.page({\n    data: {\n      num: 0,\n      text: 'Hello World',\n    },\n  });\n\u003c/script\u003e\n```\n\n### 安装使用\n\n#### 安装（更新） wepy 命令行工具。\n\n```console\nnpm install @wepy/cli@next -g\n```\n\n#### 生成开发示例\n\n```console\nwepy init standard myproject\n```\n\n#### 安装依赖\n\n```console\ncd myproject\nnpm install\n```\n\n#### 开发实时编译\n\n```console\nwepy build --watch\n```\n\n#### 开发者工具导入项目\n\n使用`微信开发者工具`新建项目，本地开发选择项目根目录，会自动导入项目配置。\n\n### 哪些小程序是用 WePY 开发的\n\n腾讯疫苗查询小程序、\n腾讯翻译君小程序、\n腾讯地图小程序、\n玩转故宫小程序、\n手机充值+、\n手机余额查询、\n手机流量充值优惠、\n[友福图书馆](https://library.ufutx.com)[（开源）](https://github.com/glore/library)、\n[素洁商城](https://github.com/dyq086/wxYuHanStore)[（开源）](https://github.com/dyq086/wxYuHanStore)、\n[NewsLite](https://github.com/yshkk/shanbay-mina)[（开源）](https://github.com/yshkk/shanbay-mina)、\n[西安找拼车](https://github.com/chenqingspring)[（开源）](https://github.com/chenqingspring)、\n[深大的树洞](https://github.com/jas0ncn/szushudong)[（开源）](https://github.com/jas0ncn/szushudong)、\n[求知微阅读](https://github.com/KingJeason/wepy-books)[（开源）](https://github.com/KingJeason/wepy-books)、\n[给你的 iPhone X 换个发型](https://bangs.baran.wang/)、\n[天天跟我买](http://www.xiaohongchun.com.cn/index)、\n[坚橙](https://zhanart.com/wepy.html)、\n群脱单、\n米淘联盟、\n帮助圈、\n众安保险福利、\n阅邻二手书、\n趣店招聘、\n[满熊阅读（开源：](https://github.com/Thunf/wepy-demo-bookmall) [微信小程序](https://github.com/Thunf/wepy-demo-bookmall)、[支付宝小程序）](https://github.com/Thunf/wepy-demo-bookmall/tree/alipay)、\n育儿柚道、\n平行进口报价内参、\nGitHub 掘金版、\n班级群管、\n鲜花说小店、\n逛人备忘、\n英语助手君、\n花花百科、\n独角兽公司、\n爱羽客羽毛球、\n斑马小店、\n小小羽球、\n培恩医学、\n农资优选、\n公务员朝夕刷题、\n七弦琴小助手、\n七弦琴大数据、\n爽到家小程序、\n[应用全球排行](https://github.com/szpnygo/wepy_ios_top)[（开源）](https://github.com/szpnygo/wepy_ios_top)、\n[we 川大](https://github.com/mohuishou/scuplus-wechat)[（开源）](https://github.com/mohuishou/scuplus-wechat)、\n聊会儿、\n[诗词墨客](https://github.com/huangjianke/weapp-poem)[（开源）](https://github.com/huangjianke/weapp-poem)、\n[南京邮电大学](https://github.com/GreenPomelo/Undergraduate)[（开源）](https://github.com/GreenPomelo/Undergraduate)\n\n...\n\n### 交流群\n\nWePY 交流群已满 500 人，请加 gcaufy_helper 好友或者扫码加好友，验证回复 `wepy` 按照指引进群。\n\n![wepy_qr_code](https://user-images.githubusercontent.com/2182004/82732473-feb50c80-9d3f-11ea-9a5f-0efc6ce40f74.png)\n\n### 参与贡献\n\n如果你有好的意见或建议，欢迎给我们提 Issues 或 Pull Requests，为提升微信小程序开发体验贡献力量。\u003cbr\u003e详见：[CONTRIBUTING.md](./CONTRIBUTING.md)\n\n[腾讯开源激励计划](https://opensource.tencent.com/contribution) 鼓励开发者的参与和贡献，期待你的加入。\n\n### Links\n\n[Documentation](https://tencent.github.io/wepy/)\n\n[Changelog](https://tencent.github.io/wepy/document.html#/changelog)\n\n[Contributing](./CONTRIBUTING.md)\n\n[License MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTencent%2Fwepy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTencent%2Fwepy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTencent%2Fwepy/lists"}