{"id":16923208,"url":"https://github.com/hyperlife1119/taro-plugin-vant-weapp","last_synced_at":"2025-04-11T17:00:24.004Z","repository":{"id":57689544,"uuid":"476801915","full_name":"HyperLife1119/taro-plugin-vant-weapp","owner":"HyperLife1119","description":"一个 taro 插件，用于改善 vant-weapp 在 taro 中的使用体验。","archived":false,"fork":false,"pushed_at":"2024-11-13T10:08:24.000Z","size":391,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T09:41:29.553Z","etag":null,"topics":["taro","vant-weapp","wechat"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/HyperLife1119.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-01T16:55:09.000Z","updated_at":"2024-11-13T10:08:27.000Z","dependencies_parsed_at":"2025-02-15T15:40:59.245Z","dependency_job_id":null,"html_url":"https://github.com/HyperLife1119/taro-plugin-vant-weapp","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":"0.15000000000000002","last_synced_commit":"61abd55ef4ec62b3ca5973971ec666ec721a987c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperLife1119%2Ftaro-plugin-vant-weapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperLife1119%2Ftaro-plugin-vant-weapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperLife1119%2Ftaro-plugin-vant-weapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperLife1119%2Ftaro-plugin-vant-weapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HyperLife1119","download_url":"https://codeload.github.com/HyperLife1119/taro-plugin-vant-weapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248446650,"owners_count":21105130,"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":["taro","vant-weapp","wechat"],"created_at":"2024-10-13T19:58:13.774Z","updated_at":"2025-04-11T17:00:23.965Z","avatar_url":"https://github.com/HyperLife1119.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taro-plugin-vant-weapp\n\n一个 taro 插件，用于改善 vant-weapp 在 taro 中的使用体验。\n\n## 功能\n\n- 设置 vant-weapp 组件的属性默认值\n- 标记 vant-weapp 中不可递归自身的组件\n\n## 安装\n\n```bash\n$ npm i taro-plugin-vant-weapp -D\n```\n\n## 用法\n\n### 1. 装配插件\n\n```js\n// Taro 项目配置\nmodule.exports = {\n  // ...\n  plugins: [\n    'taro-plugin-vant-weapp',\n    // or\n    ['taro-plugin-vant-weapp', {\n      // 配置\n    }]\n  ]\n}\n```\n\n### 2. 插件配置\n\n| 参数         | 类型                                  | 描述                   |\n| ------------ | ------------------------------------- | ---------------------- |\n| components   | `Record\u003cstring, Record\u003cstring, any\u003e\u003e` | 修改、新增组件的属性   |\n| nestElements | `Record\u003cstring, number\u003e`              | 组件模版的循环次数     |\n| voidElements | `string[]`                            | 组件是否可以渲染子元素 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperlife1119%2Ftaro-plugin-vant-weapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperlife1119%2Ftaro-plugin-vant-weapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperlife1119%2Ftaro-plugin-vant-weapp/lists"}