{"id":13535768,"url":"https://github.com/vuwe/vuwe","last_synced_at":"2025-04-02T02:31:29.361Z","repository":{"id":215851039,"uuid":"77122240","full_name":"vuwe/vuwe","owner":"vuwe","description":"WeUI for Vue2","archived":false,"fork":false,"pushed_at":"2017-01-11T03:21:38.000Z","size":641,"stargazers_count":223,"open_issues_count":8,"forks_count":30,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-03T00:32:51.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vuwe.github.io/vuwe/#/","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/vuwe.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}},"created_at":"2016-12-22T07:22:10.000Z","updated_at":"2023-07-11T00:50:56.000Z","dependencies_parsed_at":"2024-01-17T16:59:10.572Z","dependency_job_id":"a5245b96-3e83-4ed3-88e7-094f3fea7ebe","html_url":"https://github.com/vuwe/vuwe","commit_stats":null,"previous_names":["vuwe/vuwe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuwe%2Fvuwe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuwe%2Fvuwe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuwe%2Fvuwe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuwe%2Fvuwe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vuwe","download_url":"https://codeload.github.com/vuwe/vuwe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743654,"owners_count":20826575,"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":[],"created_at":"2024-08-01T09:00:26.433Z","updated_at":"2025-04-02T02:31:28.973Z","avatar_url":"https://github.com/vuwe.png","language":"Vue","readme":"# VUWE\n![LOGO](https://vuwe.github.io/vuwe/img/logo.png)\n\n[在线预览](https://vuwe.github.io/vuwe/#/)\n\n# 介绍\n`VUWE`是一款基于微信`WeUI`所开发的，专用于`Vue2`的组件库。\n\n它与`WeUI`完全解耦。用户通过自定义`WeUI`的样式文件，可以方便地对`VUWE`实现定制化。\n\n[中文文档](https://vuwe.github.io/vuwe/doc.html#/)\n\n# 使用\n进入一个`Vue`工程项目，然后执行以下命令：\n```\nnpm install vuwe --save\n```\n### 加载WeUI\n在开始之前，需要在`index.html`内加载`WeUI`样式库：\n```html\n\u003clink rel=\"stylesheet\" href=\"/weui.min.css\"\u003e\n```\n\n### 全局引入\n进入工程入口js，写入下列语句：\n```js\nimport Vue from 'vue'\nimport Vuwe from 'vuwe'\n\nVue.use(Vuwe)\n```\n此时`VUWE`已经被全局注册，可以在需要的地方直接使用`VUWE`组件标签。\n\u003e 组件列表看这里\n\n### 局部引入\n在需要引入`VUWE`组件的地方直接引入：\n```js\nimport { VwButton } from 'vuwe'\n\nexport default {\n  components: {\n    VwButton\n  }\n}\n```\n\n# 运行\n克隆项目、安装依赖\n```\ngit clone https://github.com/vuwe/vuwe.git\n\ncd vuwe \u0026\u0026 npm install\n```\n\n开发模式\n```\nnpm run dev\n```\n\n生产模式\n```\nnpm run build\n```\n\n示例模式（产出一个`index.html`文件，一个`app.js`文件）\n```\nnpm run build-demo\n```\n\n# MIT","funding_links":[],"categories":["Vue","UI组件"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuwe%2Fvuwe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuwe%2Fvuwe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuwe%2Fvuwe/lists"}