{"id":26168849,"url":"https://github.com/yuan66-hub/ui-template","last_synced_at":"2026-04-10T22:43:12.081Z","repository":{"id":281643642,"uuid":"944434405","full_name":"yuan66-hub/ui-template","owner":"yuan66-hub","description":"一个企业级UI组件库模板","archived":false,"fork":false,"pushed_at":"2025-03-14T02:27:29.000Z","size":974,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T22:06:28.446Z","etag":null,"topics":["gulp","rollup","typescript","ui-component","vite","vitest","vue3-composition-api"],"latest_commit_sha":null,"homepage":"https://yuan66-hub.github.io/ui-template/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuan66-hub.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T10:39:52.000Z","updated_at":"2025-03-14T02:32:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"b89766f7-41d7-4c2a-a38a-fc03a777bbfb","html_url":"https://github.com/yuan66-hub/ui-template","commit_stats":null,"previous_names":["yuan66-hub/ui-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuan66-hub/ui-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuan66-hub%2Fui-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuan66-hub%2Fui-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuan66-hub%2Fui-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuan66-hub%2Fui-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuan66-hub","download_url":"https://codeload.github.com/yuan66-hub/ui-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuan66-hub%2Fui-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273804756,"owners_count":25171557,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gulp","rollup","typescript","ui-component","vite","vitest","vue3-composition-api"],"created_at":"2025-03-11T18:58:05.809Z","updated_at":"2026-04-10T22:43:07.028Z","avatar_url":"https://github.com/yuan66-hub.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI Template\r\n\r\nEnglish | [简体中文](./README.md)\r\n\r\n## Introduction\r\n\r\nUI Template is an enterprise-level UI component library template based on Vue 3, focusing on providing business and common components needed for enterprise application customization development. It is developed with TypeScript, provides complete type definitions, and supports on-demand import and theme customization, helping developers quickly build beautiful and efficient user interfaces.\r\n\r\n## ✨ Features\r\n\r\n- 🔥 **Vue 3 Ecosystem** - Based on Vue 3 and Composition API, fully leveraging its performance advantages and reactive features\r\n- 🔧 **TypeScript** - Written in TypeScript with complete type definitions and intelligent hints\r\n- 🌐 **Web Components** - Support for Web Components, seamlessly integrating with native HTML elements\r\n- 📦 **On-demand Import** - Support for both full import and on-demand import, optimizing bundle size with build tools\r\n- 🎨 **Theme Customization** - Flexible theme configuration system, supporting dark mode and custom style variables\r\n- ⚡️ **Development Experience** - Complete development documentation and examples, intuitive API design\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install ui-template\r\n# or\r\npnpm add ui-template\r\n```\r\n\r\n## 🚀 Quick Start\r\n\r\n### Full Import\r\n\r\n```ts\r\nimport { createApp } from \"vue\";\r\nimport UiTemplate from \"ui-template\";\r\n\r\nconst app = createApp(App);\r\napp.use(UiTemplate);\r\n```\r\n\r\n### On-demand Import\r\n\r\n```ts\r\n// vite.config.ts\r\nimport Components from \"unplugin-vue-components/vite\";\r\nimport { UiTemplateResolver } from \"@ui-template/plugins\";\r\n\r\nexport default defineConfig({\r\n  plugins: [\r\n    Components({\r\n      resolvers: [UiTemplateResolver()],\r\n    }),\r\n  ],\r\n});\r\n```\r\n\r\n```vue\r\n\u003ctemplate\u003e\r\n  \u003cUiButton type=\"primary\" @click=\"handleClick\"\u003eClick Button\u003c/UiButton\u003e\r\n\u003c/template\u003e\r\n\r\n\u003cscript setup lang=\"ts\"\u003e\r\nconst handleClick = () =\u003e {\r\n  console.log(\"Button clicked!\");\r\n};\r\n\u003c/script\u003e\r\n```\r\n\r\n## 📚 Documentation\r\n\r\nVisit [Component Documentation](./docs/guide/introduction.md) for more information.\r\n\r\n## 🤝 Contributing\r\n\r\nIssues and Pull Requests are welcome!\r\n\r\n## 📄 License\r\n\r\n[MIT](LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuan66-hub%2Fui-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuan66-hub%2Fui-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuan66-hub%2Fui-template/lists"}