{"id":16365296,"url":"https://github.com/xiaoluoboding/element-demi","last_synced_at":"2025-06-15T00:05:05.058Z","repository":{"id":83484352,"uuid":"335588455","full_name":"xiaoluoboding/element-demi","owner":"xiaoluoboding","description":"An adapter for using Element UI with Vue 2 / 3.","archived":false,"fork":false,"pushed_at":"2021-02-23T08:44:20.000Z","size":270,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T16:51:50.385Z","etag":null,"topics":["element-plus","element-ui","vue","vue2","vue3"],"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/xiaoluoboding.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":"2021-02-03T10:32:59.000Z","updated_at":"2023-01-19T14:27:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2b17dab-8658-43cf-8886-c0a939bef9f2","html_url":"https://github.com/xiaoluoboding/element-demi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xiaoluoboding/element-demi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Felement-demi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Felement-demi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Felement-demi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Felement-demi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaoluoboding","download_url":"https://codeload.github.com/xiaoluoboding/element-demi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Felement-demi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901381,"owners_count":22929224,"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":["element-plus","element-ui","vue","vue2","vue3"],"created_at":"2024-10-11T02:43:15.601Z","updated_at":"2025-06-15T00:05:05.029Z","avatar_url":"https://github.com/xiaoluoboding.png","language":"JavaScript","readme":"# Element Demi\n\nAn adapter for using Element UI with Vue 2 / 3.\n\n## 🪀 Just a toy\n\nThis library aim to testing the `postinstall` npm hook. After all packages get installed. the script will start to check\nthe installed Vue version and redirect the exports to based on the local Vue version.\n\n## 📦 Install\n\n```bash\n// vue2.x + element-ui\nnpm i element-demi element-ui\n# or\nyarn add element-demi element-ui\n\n// vue3.x + element-plus\nnpm i element-demi element-plus\n# or\nyarn add element-demi element-plus\n```\n\n## 🎩 Usage\n\n### Vue2\n\n```js\nimport Vue from 'vue'\nimport ElementUI from 'element-demi'\n\nVue.use(ElementUI)\n```\n\n### Vue3\n\n```js\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport ElementUI from 'element-demi'\n\nconst app = createApp(App)\n\napp.use(ElementUI)\n```\n\n## 🦄️ Demos\n\nVue 2 Demo: [Vue CLI 2.x](./examples/vue2-demo/README.md)  |  Vue 3 Demo: [Vue CLI 3.x](./examples/vue3-demo/README.md)\n\n## 💡 Inspiration\n\nThis library is inspired by [VueDemi](https://github.com/vueuse/vue-demi)\n\n## 📄 License\n\nMIT [@xiaoluoboding](https://github.com/xiaoluoboding)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoluoboding%2Felement-demi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaoluoboding%2Felement-demi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoluoboding%2Felement-demi/lists"}