{"id":18262108,"url":"https://github.com/cool-team-official/cool-uni","last_synced_at":"2025-05-15T15:09:56.918Z","repository":{"id":40456041,"uuid":"257650915","full_name":"cool-team-official/cool-uni","owner":"cool-team-official","description":"简洁易用的uni-app组件库","archived":false,"fork":false,"pushed_at":"2025-03-05T00:41:18.000Z","size":49090,"stargazers_count":250,"open_issues_count":25,"forks_count":82,"subscribers_count":5,"default_branch":"7.x","last_synced_at":"2025-03-25T03:13:45.158Z","etag":null,"topics":["cool","element","typescript","uni-app","vue3"],"latest_commit_sha":null,"homepage":"https://uni-docs.cool-js.com/","language":"Vue","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/cool-team-official.png","metadata":{"files":{"readme":"README.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}},"created_at":"2020-04-21T16:30:40.000Z","updated_at":"2025-03-22T08:48:39.000Z","dependencies_parsed_at":"2024-02-01T03:42:13.785Z","dependency_job_id":"89be9d71-4863-4a28-a6df-4b138318e2e9","html_url":"https://github.com/cool-team-official/cool-uni","commit_stats":{"total_commits":388,"total_committers":7,"mean_commits":55.42857142857143,"dds":"0.23453608247422686","last_synced_commit":"1fa56aaf5b805e2541c94978acaee55aba75639d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-team-official%2Fcool-uni","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-team-official%2Fcool-uni/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-team-official%2Fcool-uni/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-team-official%2Fcool-uni/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cool-team-official","download_url":"https://codeload.github.com/cool-team-official/cool-uni/tar.gz/refs/heads/7.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569000,"owners_count":20798341,"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":["cool","element","typescript","uni-app","vue3"],"created_at":"2024-11-05T11:06:39.011Z","updated_at":"2025-04-01T04:53:25.332Z","avatar_url":"https://github.com/cool-team-official.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COOL-UNI 项目脚手架\n\n## 简介\n\n7.0 携带 vue3、vite、ts、pinia 等众多新特性细节曝光！！[文档地址](https://cool-js.com/uni/introduce.html)\n\n[演示地址](https://cool-js.com/uni/index.html#/)\n\n\u003cimg src=\"https://cool-js.com/demo/uniapp/cover1.jpg\" height=\"300px\" /\u003e\n\u003cimg src=\"https://cool-js.com/demo/uniapp/cover2.jpg\" height=\"300px\" /\u003e\n\u003cimg src=\"https://cool-js.com/demo/uniapp/cover3.jpg\" height=\"300px\" /\u003e\n\u003cimg src=\"https://cool-js.com/demo/uniapp/cover4.jpg\" height=\"300px\" /\u003e\n\u003cimg src=\"https://cool-js.com/demo/uniapp/cover5.jpg\" height=\"300px\" /\u003e\n\n## 更快\n\n#### 启动快\n\n基于 `vite`，快速的冷启动，不需要等待打包，即时的热模块更新，真正的按需编译。\n\n#### 开发快\n\n新增 `eps` 模式，自动扫描接口，代码智能提示。\n\n\u003cimg src=\"https://cool-js.com/assets/service-tip.c2b03c26.gif\" height=\"300px\" /\u003e\n\n#### 对接快\n\n有什么功能是前端一个人做不了？？大不了全干了\n\n👉👉 [管理前端（vue3）开发文档、强大的 CRUD 组件](https://cool-js.com/admin/vue/introduce.html#%E4%BB%A3%E7%A0%81%E4%BB%93%E5%BA%93)\n\n👉👉 [服务端（node、midway）开发文档、一键生成代码](https://cool-js.com/admin/node/introduce.html#%E4%BB%A3%E7%A0%81%E4%BB%93%E5%BA%93)\n\n👉👉 [演示地址](https://show.cool-admin.com) 😁 账户：admin 密码：123456\n\n-   ✔ 管理系统\n\n    \u003cimg src=\"https://cool-js.com/admin/show.png\" width=\"500px\" /\u003e\n\n-   ✔ ai编码\n\n    \u003cimg src=\"https://cool-js.com/ai/show/AI%E7%BC%96%E7%A0%81.gif\" width=\"500px\" /\u003e\n\n## 更强\n\n内置请求、路由、文件上传、组件通信、缓存等方法及 ui 库和 hooks\n\n```html\n\u003cscript lang=\"ts\" setup\u003e\n\timport { useCool } from \"/@/cool\";\n\timport { useUi } from \"/$/cool-ui\";\n\n\tconst { service, router, storage, upload } = useCool();\n\tconst ui = useUi();\n\n\t// 请求\n\tservice.test.page().then((res) =\u003e {\n\t\tconsoe.log(res);\n\t});\n\n\t// 跳转\n\trouter.push({\n\t\tpath: \"/pages/goods/info\",\n\t\tquery: {\n\t\t\tid: 1,\n\t\t},\n\t});\n\n\t// 全局事件\n\tui.showLoading();\n\tui.showToast();\n\n\t// 储存\n\tstorage.set(\"token\", \"a123huis\");\n\n\t// 文件上传\n\tuni.chooseImage({\n\t\tcount: 1,\n\t\tsourceType: [\"album\", \"camera\"],\n\t\tsuccess(res) {\n\t\t\tupload(res.tempFiles[0]).then((url) =\u003e {\n\t\t\t\tconsole.log(url);\n\t\t\t});\n\t\t},\n\t});\n\u003c/script\u003e\n```\n\n## 更全\n\n#### 细腻的代码\n\n-   `service` 无感刷新，直接调用后端接口\n\n    ```ts\n    const { service } = useCool();\n    ```\n\n-   提供 `entity` 描述，写 `any` 和不写的都哭了\n\n    ```ts\n    const list = ref\u003cEps.UserInfoEntity[]\u003e([]);\n    ```\n\n#### 活跃的社区\n\n-   拥有自己的知识库系统\n\n-   [官方有问必答](https://cool-js.com/help/list.html)\n\n#### 丰富的插件\n\n-   [Ai智能模块](https://cool-js.com/plugin/detail.html?id=58)\n\n-   [客服聊天模块](https://cool-js.com/plugin/detail.html?id=56)\n\n-   [企业机器人](https://cool-js.com/plugin/detail.html?id=41)、[飞书推送](https://cool-js.com/plugin/detail.html?id=30)\n\n-   [各厂商的支付模块](https://cool-js.com/plugin/detail.html?id=33)\n\n-   [云存储](https://cool-js.com/plugin/detail.html?id=36)\n\n-   [PDF打印](https://cool-js.com/plugin/detail.html?id=44)\n\n-   [更多](https://cool-js.com/plugin/list.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcool-team-official%2Fcool-uni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcool-team-official%2Fcool-uni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcool-team-official%2Fcool-uni/lists"}