{"id":19894052,"url":"https://github.com/enpitsulin/demi-ui-template","last_synced_at":"2026-04-10T22:37:17.529Z","repository":{"id":65553062,"uuid":"594281067","full_name":"enpitsuLin/demi-ui-template","owner":"enpitsuLin","description":"Vue universal ui libraries template, can use both vue 2 \u0026 vue 3","archived":false,"fork":false,"pushed_at":"2023-01-31T07:48:43.000Z","size":1273,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T20:13:47.481Z","etag":null,"topics":["libarary","template","ui","vue"],"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/enpitsuLin.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":"2023-01-28T03:27:16.000Z","updated_at":"2023-01-30T09:36:49.000Z","dependencies_parsed_at":"2023-02-15T20:16:13.703Z","dependency_job_id":null,"html_url":"https://github.com/enpitsuLin/demi-ui-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fdemi-ui-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fdemi-ui-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fdemi-ui-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fdemi-ui-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enpitsuLin","download_url":"https://codeload.github.com/enpitsuLin/demi-ui-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241322696,"owners_count":19944073,"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":["libarary","template","ui","vue"],"created_at":"2024-11-12T18:32:22.478Z","updated_at":"2026-04-10T22:37:12.483Z","avatar_url":"https://github.com/enpitsuLin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# demi-ui-template\n\n\u003cp align=\"center\"\u003e_Develop once, Use in both Vue 2.7 \u0026 Vue3_\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n\u003cb\u003eEnglish\u003c/b\u003e | \u003ca href=\"./README.zh.md\"\u003e简体中文\u003c/a\u003e\n\u003c/p\u003e\n\n## Motivation\n\nAlthough a long time has passed since Vue 3 announced, there are also many developer still stay on vue2 because dependency compatibly, browser support requirements, or other reasons.\n\nThe Vue team also have backported some important feature from Vue 3 like [composition-api](https://vuejs.org/guide/extras/composition-api-faq.html#what-is-composition-api) in Vue 2.7 which was last minor version of Vue 2.x.\n\nIf we just want create a UI library that follows design specification and can be use on both Vue 2 and Vue 3 project, How?\n\nFortunately, there was a Community solution a long time ago, [vue-demi](https://github.com/vueuse/vue-demi), so I built a template for building your universal ui libraries on top of this. take a try 😉\n\n## How to Use\n\n### Github Template\n\n[Create a repo from this template on GitHub.](https://github.com/enpitsuLin/demi-ui-template/generate)\n\n### Clone to local\n\nClone this repo directly, or you prefer to do it manually with the cleaner git history\n\n```sh\nnpx degit enpitsulin/demi-ui-template project-name\ncd project-name\npnpm i # If you don't have pnpm installed, refer to the official pnpm documentation to install\n```\n\n## Checklist\n\nWhen you use this template, try follow the checklist to update your info properly\n\n- [ ] Change the author name in `LICENSE` under root of workspace\n- [ ] Change `@demi/` in each subpackage to the scope you want or use single package name, **DON'T** forget change name where be used to as dependency.\n  - [ ] Change the private field of some subpackages for distribution (optional)\n- [ ] Change some build-related constants in `constants.ts` in the `internal/build` package\n- [ ] Clean up the READMEs or change the content\n\n## Usage\n\n### Development\n\nWIP: TODO create a website to show some doc thing.\n\n### Build\n\nTo build the library, run (in workspace root)\n\n```sh\npnpm build\n```\n\nAnd you will see the library product file in `packages/demi-ui/release/` you can direct `npm publish` this directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenpitsulin%2Fdemi-ui-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenpitsulin%2Fdemi-ui-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenpitsulin%2Fdemi-ui-template/lists"}