{"id":15033559,"url":"https://github.com/elemefe/mint-ui","last_synced_at":"2025-05-15T00:05:31.876Z","repository":{"id":41384289,"uuid":"59010815","full_name":"ElemeFE/mint-ui","owner":"ElemeFE","description":"Mobile UI elements for Vue.js","archived":false,"fork":false,"pushed_at":"2022-02-28T17:06:11.000Z","size":3420,"stargazers_count":16533,"open_issues_count":292,"forks_count":3543,"subscribers_count":473,"default_branch":"master","last_synced_at":"2025-05-15T00:02:48.173Z","etag":null,"topics":["component","mobile","ui-kit","vue","vue-components"],"latest_commit_sha":null,"homepage":"http://mint-ui.github.io/#!/en","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/ElemeFE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING_en-us.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-17T09:54:10.000Z","updated_at":"2025-05-13T13:59:31.000Z","dependencies_parsed_at":"2022-07-17T09:46:30.867Z","dependency_job_id":null,"html_url":"https://github.com/ElemeFE/mint-ui","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fmint-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fmint-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fmint-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fmint-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElemeFE","download_url":"https://codeload.github.com/ElemeFE/mint-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249198,"owners_count":22039029,"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":["component","mobile","ui-kit","vue","vue-components"],"created_at":"2024-09-24T20:21:42.380Z","updated_at":"2025-05-15T00:05:30.662Z","avatar_url":"https://github.com/ElemeFE.png","language":"Vue","readme":"# Mint UI\n\n[![Build Status](https://travis-ci.org/ElemeFE/mint-ui.svg?branch=master)](https://travis-ci.org/ElemeFE/mint-ui)\n[![npm](https://img.shields.io/npm/v/mint-ui.svg?maxAge=3600)](https://www.npmjs.com/package/mint-ui)\n[![NPM downloads](http://img.shields.io/npm/dm/mint-ui.svg)](https://npmjs.org/package/mint-ui)\n![JS gzip size](http://img.badgesize.io/elemefe/mint-ui/master/lib/index.js.svg?compression=gzip\u0026label=gzip%20size:%20JS)\n![CSS gzip size](http://img.badgesize.io/elemefe/mint-ui/master/lib/style.css.svg?compression=gzip\u0026label=gzip%20size:%20CSS)\n[![Join the chat at https://gitter.im/ElemeFE/mint-ui](https://badges.gitter.im/ElemeFE/mint-ui.svg)](https://gitter.im/ElemeFE/mint-ui?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\u003e Mobile UI elements for **Vue 2.0**\n\n- [Homepage](http://mint-ui.github.io)\n- [Documentation](http://mint-ui.github.io/docs)\n\n\n\n## Installation\n```shell\nnpm i mint-ui -S\n\n# for Vue 1.x\nnpm i mint-ui@1 -S\n```\n\n## Usage\n\nImport all components.\n\n```javascript\nimport Vue from 'vue';\nimport Mint from 'mint-ui';\nimport 'mint-ui/lib/style.css';\n\nVue.use(Mint);\n```\n\nOr import specified component. (Use [babel-plugin-component](https://www.npmjs.com/package/babel-plugin-component))\n\n```javascript\nimport { Cell, Checklist } from 'mint-ui';\n\nVue.component(Cell.name, Cell);\nVue.component(Checklist.name, Checklist);\n```\n\n\nEquals to\n\n```javascript\nimport Vue from 'vue';\nimport Mint from 'mint-ui';\nimport 'mint-ui/lib/style.css';\n\nVue.use(Mint);\n\n// import specified component\n\nimport MtRadio from 'mint-ui/lib/radio';\nimport 'mint-ui/lib/radio/style.css';\n\nVue.component(MtRadio.name, MtRadio);\n```\n\n## babel-plugin-component\n- Auto import css file\n- Modular import component\n\nInstallation\n```shell\nnpm i babel-plugin-component -D\n```\n\nUsage\n\n.babelrc\n```json\n{\n  \"plugins\": [\"other-plugin\", [\"component\", [\n    { \"libraryName\": \"mint-ui\", \"style\": true }\n  ]]]\n}\n```\n\n## CDN\nRawGit\n\n- https://cdn.rawgit.com/ElemeFE/mint-ui/master/lib/index.js\n- https://cdn.rawgit.com/ElemeFE/mint-ui/master/lib/style.css\n\nNPMCDN\n\n- https://unpkg.com/mint-ui/lib/index.js\n- https://unpkg.com/mint-ui/lib/style.css\n\n## Development\n\n```shell\nnpm run dev\n```\n\n## Contribution\nPlease make sure to read the [Contributing Guide](https://github.com/ElemeFE/mint-ui/blob/master/.github/CONTRIBUTING_en-us.md) before making a pull request.\n\n## License\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemefe%2Fmint-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felemefe%2Fmint-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemefe%2Fmint-ui/lists"}