{"id":13938090,"url":"https://github.com/adcentury/vue-weui","last_synced_at":"2025-04-05T08:07:41.251Z","repository":{"id":38429274,"uuid":"46460282","full_name":"adcentury/vue-weui","owner":"adcentury","description":"(Deprecated) WeUI Components with love of vue.js","archived":false,"fork":false,"pushed_at":"2017-10-11T10:10:15.000Z","size":1063,"stargazers_count":414,"open_issues_count":10,"forks_count":78,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-29T07:04:24.491Z","etag":null,"topics":["mobile-ui","vue","vue-components","vue-weui","wechat-mobile-ui","weui"],"latest_commit_sha":null,"homepage":"http://adcentury.github.io/vue-weui","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adcentury.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-19T01:53:53.000Z","updated_at":"2024-09-25T04:02:22.000Z","dependencies_parsed_at":"2022-08-18T23:41:34.907Z","dependency_job_id":null,"html_url":"https://github.com/adcentury/vue-weui","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adcentury%2Fvue-weui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adcentury%2Fvue-weui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adcentury%2Fvue-weui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adcentury%2Fvue-weui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adcentury","download_url":"https://codeload.github.com/adcentury/vue-weui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305934,"owners_count":20917208,"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","vue","vue-components","vue-weui","wechat-mobile-ui","weui"],"created_at":"2024-08-07T23:04:14.320Z","updated_at":"2025-04-05T08:07:41.234Z","avatar_url":"https://github.com/adcentury.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# (Deprecated) vue-weui\n\n感谢对vue-weui的支持，由于在vue-weui最后提交之后，vue和weui都进行了较大幅度的更新，且我没有更多的时间和精力来跟进，所以此项目今后将不再维护，如果有需要可以使用其他相关库，再次感谢。\n\n---\n\n[![npm package][npm-badge]][npm] [![dependencies status][dependencies-badge]][dependencies] [![npm downloads][downloads-badge]][npm]\n\n\u003e 使用Vue封装，为微信Web服务量身设计（Work with WeUI 0.4.0+）\n\n## 特点\n\n* 使用Vue封装了WeUI的所有组件\n* 通过npm安装，可以一次引入所有组件，也可选择只引入需要的组件\n* 不带一行css，与WeUI样式完全解绑，可以方便地进行自定义\n\n## 预览\n\n![qr-of-examples](./docs/images/qr-of-examples.png)\n\n扫描二维码在手机查看\n\n或直接访问 [http://adcentury.github.io/vue-weui](http://adcentury.github.io/vue-weui)\n\n## 安装\n\n### 安装weui\n\nvue-weui中组件与css完全解绑，既给予了开发者自主性和灵活性，也能最大限度减少文件大小。安装css方法如下：\n\n```\nnpm install --save weui\n```\n\n之后，只需在页面中引入`dist/style/weui.css`或者`dist/style/weui.min.css`其中之一即可. 例如:\n\n```html\n\u003chead\u003e\n  \u003cmeta charset=\"UTF-8\"\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=0\"\u003e\n  \u003ctitle\u003eVue WeUI\u003c/title\u003e\n  \u003clink rel=\"stylesheet\" href=\"path/to/weui/dist/style/weui.min.css\"/\u003e\n\u003c/head\u003e\n```\n\n### 安装vue-weui\n\n```\nnpm install vue-weui --save\n```\n\n## 使用\n\n### 引用\n\n#### ES6\n\n```javascript\n// 引用所有组件\nimport VueWeui from 'vue-weui';\n\nexport default {\n  components: VueWeui\n};\n\n// 引用部分组件\nimport {Dialog} from 'vue-weui';\n// 或\n// 只引用需要的文件，减少文件大小\nimport Dialog from 'vue-weui/components/dialog/dialog.vue';\n\nexport default {\n  components: {\n    Dialog\n  }\n};\n\n```\n\n#### CommonJS\n\n```javascript\nvar Dialog = require('vue-weui').Dialog;\n// 或\nvar Dialog = require('vue-weui/components/dialog/dialog.vue');\n\nnew Vue({\n  components: {\n    'dialog': Dialog\n  }\n});\n```\n\n### 组件列表和使用说明\n\n[点击查看组件列表](./docs/components.md)\n\n## 查看示例\n\n```\ngit clone https://github.com/adcentury/vue-weui\ncd vue-weui \u0026\u0026 npm install\nnpm start\n\nopen http://localhost:8080 in browser\n```\n\n## 变更日志\n\n[点击查看变更日志](./docs/CHANGELOG.md)\n\n## 反馈\n\n有任何意见和建议请提交issue或PR，谢谢。\n\n[npm-badge]: https://img.shields.io/npm/v/vue-weui.svg?style=flat-square\n[npm]: https://www.npmjs.com/package/vue-weui\n\n[dependencies-badge]: https://david-dm.org/adcentury/vue-weui.svg\n[dependencies]: https://david-dm.org/adcentury/vue-weui\n\n[downloads-badge]: https://img.shields.io/npm/dm/vue-weui.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadcentury%2Fvue-weui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadcentury%2Fvue-weui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadcentury%2Fvue-weui/lists"}