{"id":13423894,"url":"https://github.com/posva/vue-mdc","last_synced_at":"2025-12-12T04:21:50.874Z","repository":{"id":57150762,"uuid":"43266051","full_name":"posva/vue-mdc","owner":"posva","description":"Material web components for Vue.js","archived":true,"fork":false,"pushed_at":"2018-06-28T16:40:38.000Z","size":5974,"stargazers_count":1189,"open_issues_count":37,"forks_count":101,"subscribers_count":41,"default_branch":"master","last_synced_at":"2024-05-22T00:13:33.143Z","etag":null,"topics":["components","design","google","lite","material","mdc","mdl","vue","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/posva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-27T21:34:19.000Z","updated_at":"2024-04-01T10:40:50.000Z","dependencies_parsed_at":"2022-08-31T20:01:42.078Z","dependency_job_id":null,"html_url":"https://github.com/posva/vue-mdc","commit_stats":null,"previous_names":["posva/vue-mdl"],"tags_count":67,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fvue-mdc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fvue-mdc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fvue-mdc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fvue-mdc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posva","download_url":"https://codeload.github.com/posva/vue-mdc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221593381,"owners_count":16849117,"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":["components","design","google","lite","material","mdc","mdl","vue","web"],"created_at":"2024-07-31T00:00:44.554Z","updated_at":"2025-10-22T19:46:27.850Z","avatar_url":"https://github.com/posva.png","language":"JavaScript","funding_links":[],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","JavaScript","Vue","VueJS","构架","Components \u0026 Libraries","Frameworks","Frameworks [🔝](#readme)"],"sub_categories":["Component Collections","Frameworks","Related community list","组件集合"],"readme":"**If you're looking for vue-mdl, check the [mdl branch](https://github.com/posva/vue-mdc/tree/mdl). To learn about what's happening, check [#139](https://github.com/posva/vue-mdc/issues/139)**\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"320px\" src=\"https://posva.net/vue-mdl-docs/logo.svg\"/\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vue-mdc\"\u003e\n    \u003cimg alt=\"last version\" src=\"https://img.shields.io/npm/v/vue-mdc.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://circleci.com/gh/posva/vue-mdc\"\u003e\n    \u003cimg alt=\"Circle CI\" src=\"https://img.shields.io/circleci/project/posva/vue-mdc/develop.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/posva/vue-mdc\"\u003e\n    \u003cimg alt=\"Codecov Coverage\" src=\"https://img.shields.io/codecov/c/github/posva/vue-mdc/master.svg?maxAge=2592000\u0026nocache=true\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discordapp.com/invite/dAF4F28\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/discord-vue%40SpeakJS-738bd7.svg?style=flat\" alt=\"Discord\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://vuejs.org\" title=\"Compatible with Vue 2\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/vue-2.x-brightgreen.svg\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://david-dm.org/posva/vue-mdc?type=dev\" title=\"devDependency status\"\u003e\n    \u003cimg src=\"https://david-dm.org/posva/vue-mdc/dev-status.svg\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://david-dm.org/posva/vue-mdc\" title=\"Dependency status\"\u003e\n    \u003cimg src=\"https://david-dm.org/posva/vue-mdc/status.svg\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n# Vue Material Components web\n\n\u003e Material Components Web for Vue.js\n\nThis is the adaptation of [Material Components web](https://github.com/material-components/material-components-web) for Vue.js. Keeping them fast, easy to use and, SSR ready.\n\nThe docs will be the demo, until then you can [check the test folder](test/specs) and the [Material Components web demo](http://material-components-web.appspot.com/)\n\n## Installation\n\n```bash\n$ npm install --save vue-mdc\n# or\n$ yarn add vue-mdc\n```\n\n## Usage\n\n### Bundler (Webpack, Rollup)\n\n```js\nimport Vue from 'vue'\nimport VueMdc from 'vue-mdc'\n// You need a specific loader for CSS files like https://github.com/webpack/css-loader\nimport 'vue-mdc/dist/vue-mdc.css'\n\nVue.use(VueMdc)\n```\n\n### Browser\n\n```html\n\u003c!-- Include after Vue --\u003e\n\u003c!-- Local files --\u003e\n\u003clink rel=\"stylesheet\" href=\"vue-mdc/dist/vue-mdc.css\"\u003e\u003c/link\u003e\n\u003cscript src=\"vue-mdc/dist/vue-mdc.js\"\u003e\u003c/script\u003e\n\n\u003c!-- From CDN --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/vue-mdc/dist/vue-mdc.css\"\u003e\u003c/link\u003e\n\u003cscript src=\"https://unpkg.com/vue-mdc\"\u003e\u003c/script\u003e\n```\n\n### Docs\n\nWIP 😁\n\n## Development\n\n### Launch visual tests\n\n```bash\nnpm run dev\n```\n\n### Launch Karma with coverage\n\n```bash\nnpm run dev:coverage\n```\n\n### Build\n\nBundle the js and css of to the `dist` folder:\n\n```bash\nnpm run build\n```\n\n\n## Publishing\n\nThe `prepublish` hook will ensure dist files are created before publishing. This\nway you don't need to commit them in your repository.\n\n```bash\n# Bump the version first\n# It'll also commit it and create a tag\nnpm version\n# Push the bumped package and tags\ngit push --follow-tags\n# Ship it 🚀\nnpm publish\n```\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposva%2Fvue-mdc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposva%2Fvue-mdc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposva%2Fvue-mdc/lists"}