{"id":20533108,"url":"https://github.com/view-design/iview-mpvue","last_synced_at":"2025-08-11T07:15:35.334Z","repository":{"id":44975577,"uuid":"206217858","full_name":"view-design/iview-mpvue","owner":"view-design","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T08:54:35.000Z","size":3941,"stargazers_count":5,"open_issues_count":21,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T06:38:34.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/view-design.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":"2019-09-04T02:54:15.000Z","updated_at":"2021-06-16T00:42:39.000Z","dependencies_parsed_at":"2023-02-02T06:01:49.007Z","dependency_job_id":null,"html_url":"https://github.com/view-design/iview-mpvue","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/view-design/iview-mpvue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/view-design%2Fiview-mpvue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/view-design%2Fiview-mpvue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/view-design%2Fiview-mpvue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/view-design%2Fiview-mpvue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/view-design","download_url":"https://codeload.github.com/view-design/iview-mpvue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/view-design%2Fiview-mpvue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269844400,"owners_count":24484193,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-16T00:18:45.751Z","updated_at":"2025-08-11T07:15:35.281Z","avatar_url":"https://github.com/view-design.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://iview-mpvue.gitbook.io/iview-mpvue/\"\u003e\n        \u003cimg width=\"200\" src=\"http://mpvue.com/assets/logo.png\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# iView mpvue\n\n### 一套高质量的小程序 UI 组件库\n\n## 文档\n[https://iview-mpvue.gitbook.io/iview-mpvue/](https://iview-mpvue.gitbook.io/iview-mpvue/)\n\n## 体验\n使用微信扫一扫体验小程序组件示例\n\n\u003cimg width=\"200\" src=\"https://github.com/iview/iview-mpvue/blob/master/assets/wechat-mina.jpg?raw=true\"\u003e\n\n## 快速上手\n### 使用之前\n在开始使用 iView Mpvue 之前，你需要先阅读 [Vue组件注册](https://cn.vuejs.org/v2/guide/components-registration.html) 的相关文档。\n\n### 如何使用\n到 [GitHub](https://github.com/iview/iview-mpvue) 下载 iView Mpvue 的代码，将 `dist` 目录拷贝到自己的项目中。然后按照如下的方式使用组件，以 Button 为例，其它组件在对应的文档页查看：\n\n1. 添加需要的组件。按照Vue的自定义组件使用方式引入并注册：\n```javasvript\n\u003cscript\u003e\n    import button from '../../dist/components/button/button'\n    export default {\n        components: {\n            'i-button': button\n        }\n    }\n\u003c/script\u003e\n```\n2. 在 vue 中使用组件：\n```html\n\u003ci-button type=\"primary\" @click=\"handleClick\"\u003e这是一个按钮\u003c/i-button\u003e\n```\n\n### 预览所有组件\n我们内置了所有组件的示例，您可以扫描上方的小程序码体验，或按以下方式在微信开发者工具中查看：\n\n```shell\n# 从 GitHub 下载后，安装依赖\nnpm install\n\n# 编译组件\nnpm run dev\n```\n然后，将 `examples` 的dist目录分别在对应的小程序工具中打开即可(微信、百度、头条、支付宝)。\n## License\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2019-present, iView-mpvue","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fview-design%2Fiview-mpvue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fview-design%2Fiview-mpvue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fview-design%2Fiview-mpvue/lists"}