{"id":23167065,"url":"https://github.com/biugle/web_base","last_synced_at":"2025-08-18T06:32:11.895Z","repository":{"id":167200921,"uuid":"633811038","full_name":"biugle/web_base","owner":"biugle","description":"前端模板-基于 React + TypeScript + Vite + Antd + Electron + ServiceWorker 实现的模块化前端模板(支持基础版本、多页面模块版本、客户端版本等) https://base.biugle.cn","archived":false,"fork":false,"pushed_at":"2024-08-20T09:41:37.000Z","size":5619,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-21T08:57:54.516Z","etag":null,"topics":["electron-app","electron-base","electron-react","react-app","react-base","react-template","web-app","web-base","web-framework","web-pages","web-react-components","web-template"],"latest_commit_sha":null,"homepage":"https://web.biugle.cn","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/biugle.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-04-28T10:31:28.000Z","updated_at":"2024-08-20T09:19:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5eb8163-d692-451d-bfe1-7ac6829128b9","html_url":"https://github.com/biugle/web_base","commit_stats":null,"previous_names":["biugle/web_base"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biugle%2Fweb_base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biugle%2Fweb_base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biugle%2Fweb_base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biugle%2Fweb_base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biugle","download_url":"https://codeload.github.com/biugle/web_base/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230206438,"owners_count":18190023,"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":["electron-app","electron-base","electron-react","react-app","react-base","react-template","web-app","web-base","web-framework","web-pages","web-react-components","web-template"],"created_at":"2024-12-18T02:16:56.530Z","updated_at":"2024-12-18T02:17:05.595Z","avatar_url":"https://github.com/biugle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# web_base\n\n\u003e 前端模板-基于 React + TypeScript + Vite + Antd + Electron + ServiceWorker 实现的模块化前端模板(支持基础版本、多页面模块版本、客户端版本等)\n\n* **main** `基础版本` 分支\n* **modules** `模块化版本` 分支\n* **client** `客户端版本` 分支\n  * (***client-modules*** 支持 ***ServiceWorker 资源缓存***)\n  * (***client-modules*** 支持 ***Electron Http 服务启动***)\n  * (***client-modules*** 支持 ***Electron SSL 证书扩展***)\n  * (***client-main*** 基础客户端版本)\n  * (***simple-cross-platform*** 跨平台简单模板 - **网页**\u0026`Web`/**Client**\u0026`Electron`/**App**\u0026`Cordova`)\n\n## 微前端模组化（类浏览器模式）客户端模板 - [web_mods_base](https://github.com/biugle/web_mods_base)\n\n## Technology Stack\n\n* React 17.x\n* Redux+Toolkit\n* TypeScript\n* Scss/Less\n* Ant Design 5.x\n* Vite 4.x\n* Electron(已支持自动更新、打包、SSL)\n* EsLint\n* Prettier\n* Husky\n* ServiceWorker\n\n\u003e DevEnvTips: (node \u003e= 14.20.0)、(npm \u003e= 8.0.0)、(git \u003e= 2.30.0)\n\n## Use\n\n```bash\ngit clone https://github.com/biugle/web_base.git\n\nnpm i -g js-xcmd\nxcmd create-web-base [dir] [branch]\n# client-main ===\u003e c-main\n# client-modules ===\u003e c-modules\n# simple-cross-platform ===\u003e cross\n```\n\n## Start\n\n* `npm install` or `npm run init`\n\n\u003e 若 `husky hooks` 安装失败，请检查是否已进行 `git init` 。\n\n\u003e 注意：若代码标红提示，请检查是否因为 `npm` 版本过低，导致安装了 `react18` 的声明文件。\n\u003e 可以使用 `npm install --no-optional` 来避免安装 `react18` 的声明文件。\n\u003e 或者直接升级 `npm` 版本，`(*∩_∩*)` 嘻嘻。\n\n## Development\n\n* `npm run dev` or `npm run dev:exe`\n\n## Preview\n\n* `npm run preview` or `npm run preview:exe`\n\n## Build\n\n* `npm run build` or `npm run build:exe`\n\n## Code Check\n\n* `npm run lint`\n\n## Docs\n\n* [Xxx](https://pandaoh.github.io/js-xxx/html/)\n* [React](https://reactjs.bootcss.com/)\n* [Redux Toolkit](http://cn.redux.js.org/redux-toolkit/overview/)\n* [Vite](https://vitejs.cn/guide/)\n* [Ant Design](https://ant.design/components/overview-cn/)\n* [Ant Design ProComponents](https://procomponents.ant.design/components/)\n\n## Others\n\n* [Issue](https://github.com/biugle/web_base/issues)\n* [Pull Request](https://github.com/biugle/web_base/pulls)\n* [hxbpandaoh@163.com](mailto:hxbpandaoh@163.com)\n* [Blog](http://a.biugle.cn)\n* Leo He\n\n\u003e Buy me a coffee!\n\n\u003cdiv style=\"display:flex;justify-content:center;align-items:center;\"\u003e\n  \u003cimg src=\"https://a.biugle.cn/images/alipay.png\" style=\"width:200px;\" alt=\"Alipay\" title=\"Alipay\" /\u003e\n  \u003cimg src=\"https://a.biugle.cn/images/liuyan.gif\" style=\"width:200px;\" alt=\"(0.0)\" title=\"(0.0)\" /\u003e\n  \u003cimg src=\"https://a.biugle.cn/images/wechatpay.png\" style=\"width:200px;\" alt=\"WeChat\" title=\"WeChat\" /\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiugle%2Fweb_base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiugle%2Fweb_base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiugle%2Fweb_base/lists"}