{"id":27048485,"url":"https://github.com/alibaba/weex-ui","last_synced_at":"2025-04-05T07:01:50.701Z","repository":{"id":56166875,"uuid":"105006031","full_name":"apache/incubator-weex-ui","owner":"apache","description":"🏄  A rich interaction, lightweight, high performance UI library based on Weex.","archived":true,"fork":false,"pushed_at":"2021-05-27T12:59:54.000Z","size":6179,"stargazers_count":4758,"open_issues_count":1,"forks_count":902,"subscribers_count":182,"default_branch":"master","last_synced_at":"2025-04-03T04:16:59.012Z","etag":null,"topics":["mobile","ui-components","vue","weex"],"latest_commit_sha":null,"homepage":"https://apache.github.io/incubator-weex-ui/#/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":"weex-ui","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-09-27T10:41:36.000Z","updated_at":"2025-03-23T13:48:49.000Z","dependencies_parsed_at":"2022-08-15T14:00:28.907Z","dependency_job_id":null,"html_url":"https://github.com/apache/incubator-weex-ui","commit_stats":null,"previous_names":["alibaba/weex-ui"],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-weex-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-weex-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-weex-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-weex-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/incubator-weex-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299829,"owners_count":20916190,"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":["mobile","ui-components","vue","weex"],"created_at":"2025-04-05T07:01:33.098Z","updated_at":"2025-04-05T07:01:50.684Z","avatar_url":"https://github.com/apache.png","language":"Vue","readme":"# Weex Ui\n[中文](README_cn.md) | [English](README.md)\n\n[![Build Status](https://img.shields.io/travis/apache/incubator-weex-ui.svg?style=flat-square)](https://travis-ci.org/apache/incubator-weex-ui)\n[![npm](https://img.shields.io/npm/v/weex-ui.svg?maxAge=3600\u0026style=flat-square)](https://www.npmjs.com/package/weex-ui?_blank)\n[![NPM downloads](https://img.shields.io/npm/dm/weex-ui.svg?style=flat-square)](https://npmjs.org/package/weex-ui)\n[![NPM all downloads](https://img.shields.io/npm/dt/weex-ui.svg?style=flat-square)](https://npmjs.org/package/weex-ui)\n[![CNPM all downloads](http://npm.taobao.org/badge/d/weex-ui.svg?style=flat-square)](https://npm.taobao.org/package/weex-ui)\n[![GitHub last commit](https://img.shields.io/github/last-commit/apache/incubator-weex-ui.svg?style=flat-square)](https://github.com/apache/incubator-weex-ui/commits/dev)\n[![GitHub closed issues](https://img.shields.io/github/issues-closed/apache/incubator-weex-ui.svg?style=flat-square)](https://github.com/apache/incubator-weex-ui/issues?utf8=%E2%9C%93\u0026q=)\n[![Package Quality](http://npm.packagequality.com/shield/weex-ui.svg?style=flat-square)](http://packagequality.com/#?package=weex-ui)\n[![Join the chat at https://gitter.im/alibaba-weex-ui/chat](https://img.shields.io/gitter/room/apache/incubator-weex-ui.svg?style=flat-square)](https://gitter.im/alibaba-weex-ui/chat?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link)\n\n\u003e A rich interactive, lightweight, high performance UI library based on [Weex](https://github.com/apache/incubator-weex).\n\n## Docs\n\n* [**Home Page**](https://apache.github.io/incubator-weex-ui/)\n* [中文文档](https://apache.github.io/incubator-weex-ui/#/cn/)\n* [Use Weex Ui with weex-toolkit](https://apache.github.io/incubator-weex-ui/#/docs/with-weex-toolkit)\n\n## Demo\n\n\u003cimg src=\"https://img.alicdn.com/tfs/TB1O2ulhgoQMeJjy0FoXXcShVXa-1282-986.jpg\" width=540/\u003e\n\nTry [**it**](https://h5.m.taobao.com/trip/weex-ui/index.html?_wx_tpl=https%3A%2F%2Fh5.m.taobao.com%2Ftrip%2Fweex-ui%2Fdemo%2Findex.native-min.js) with Fliggy, Taobao, Tmall, Weex Playground or any browsers now!\n\n## Installation\n\n```shell\nnpm i weex-ui -S\n```\n\n## Usage\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cwxc-button text=\"Open Popup\"\n                @wxcButtonClicked=\"buttonClicked\"\u003e\n    \u003c/wxc-button\u003e\n    \u003cwxc-popup width=\"500\"\n               pos=\"left\"\n               :show=\"isShow\"\n               @wxcPopupOverlayClicked=\"overlayClicked\"\u003e\n    \u003c/wxc-popup\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import { WxcButton, WxcPopup } from 'weex-ui';\n  // or\n  // import WxcButton from 'weex-ui/packages/wxc-button';\n  // import WxcPopup from 'weex-ui/packages/wxc-popup';\n  module.exports = {\n    components: { WxcButton, WxcPopup },\n    data: () =\u003e ({\n      isShow: false\n    }),\n    methods: {\n      buttonClicked () {\n        this.isShow = true;\n      },\n      overlayClicked () {\n        this.isShow = false;\n      }\n    }\n  };\n\u003c/script\u003e\n```\n\n### Before use\n\nIn order to not pack all the components, you need to use [`babel-plugin-component`](https://www.npmjs.com/package/babel-plugin-component) to import the specified component.\nAt the same time, if you haven't installed `babel-preset-stage-0`, it's necessary to install it.\n\n```shell\nnpm i babel-preset-stage-0 babel-plugin-component -D\n```\n\n```json\n{\n    \"presets\": [\"es2015\", \"stage-0\"],\n    \"plugins\": [\n        [\n            \"component\",\n            {\n                \"libraryName\": \"weex-ui\",\n                \"libDir\": \"packages\",\n                \"style\": false\n            }\n        ]\n    ]\n}\n```\n\n### More\n\n* If babel-loader in `webpack.config.js` has a exclude for node_modules, please turn on for weex-ui as `exclude: /node_modules(?!(\\/|\\\\).*(weex).*)/`.\n* In order to get the latest features, please focus on the [ChangeLog](https://github.com/apache/incubator-weex-ui/releases) and often update `weex-ui` to the latest.\n* Many questions can be found in the [faq](https://apache.github.io/incubator-weex-ui/#/docs/faq) and [issue list](https://github.com/apache/incubator-weex-ui/issues?utf8=%E2%9C%93\u0026q=), if you find a new bug, just file an [issue](https://github.com/apache/incubator-weex-ui/issues/new).\n* More experience in Weex construction can be learned from [Weex + Ui - Weex Conf 2018](https://apache.github.io/incubator-weex-ui/#/docs/weex-ui-weex-conf-2018), welcome to translate it.\n\n## Development\n\n```shell\nnpm i\nnpm run start\n```\n\nOnce it has been compiled, a browser window will be opened automatically. You can switch to developer mode to see the demo. And there will be a QR code that you can use to try the demo on your phone in the console.\n\n## Support\n\n* Use Weex Ui in your daily work.\n* **Star it** if you like.\n* Join the chat at DingTalk to help solve weex problems.\n\n \u003ctable\u003e\u003ctr\u003e\u003ctd\u003e\u003cimg src=\"https://img.alicdn.com/tfs/TB1AEsZf7T2gK0jSZPcXXcKkpXa-750-990.jpg\" width=\"190\"\u003e\u003c/td\u003e\u003ctd\u003e\u003cimg  src=\"https://img.alicdn.com/tfs/TB1tpS2LxnaK1RjSZFtXXbC2VXa-606-799.png\" width=\"190\"\u003e\u003c/td\u003e\u003ctd\u003e\u003cimg src=\"https://img.alicdn.com/tfs/TB1lf1CLCzqK1RjSZFpXXakSXXa-1125-1485.png\" width=\"190\"\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n## Contribution\n\nWant to file a bug, contribute some code, or improve documentation? Excellent! Read up on our [Contributing Guide](https://github.com/apache/incubator-weex-ui/blob/master/CONTRIBUTING.md) before making a pull request.\n\nThank you to all the people who already contributed to Weex Ui!\n\n\u003ca href=\"https://github.com/apache/incubator-weex-ui/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/weex-ui/contributors.svg?width=890\u0026button=false\"/\u003e\u003c/a\u003e\n\n## License\n\n* The [Apache License](https://apache.org/)\n* Please feel free to use and contribute to the development.\n","funding_links":["https://opencollective.com/weex-ui"],"categories":["大厂开源","Vue"],"sub_categories":["阿里开源"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fweex-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falibaba%2Fweex-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fweex-ui/lists"}