{"id":21325761,"url":"https://github.com/wp993080086/vite-h5-template","last_synced_at":"2026-04-09T02:01:48.239Z","repository":{"id":109354081,"uuid":"490607088","full_name":"wp993080086/Vite-H5-Template","owner":"wp993080086","description":"一个开箱即用基于vue3和ts的移动端H5项目模板。","archived":false,"fork":false,"pushed_at":"2024-03-12T10:17:10.000Z","size":256,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T19:42:27.488Z","etag":null,"topics":["nprogress","pinia","sass","typescript","vant","vite","vue","vue-router"],"latest_commit_sha":null,"homepage":"","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/wp993080086.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":"2022-05-10T08:25:07.000Z","updated_at":"2025-09-29T09:14:58.000Z","dependencies_parsed_at":"2025-01-22T12:28:51.124Z","dependency_job_id":"234256eb-7eb3-4e36-bff9-d47af6b8e206","html_url":"https://github.com/wp993080086/Vite-H5-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wp993080086/Vite-H5-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FVite-H5-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FVite-H5-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FVite-H5-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FVite-H5-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp993080086","download_url":"https://codeload.github.com/wp993080086/Vite-H5-Template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FVite-H5-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["nprogress","pinia","sass","typescript","vant","vite","vue","vue-router"],"created_at":"2024-11-21T21:07:20.284Z","updated_at":"2026-04-09T02:01:48.220Z","avatar_url":"https://github.com/wp993080086.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n  \n![pinia](https://img.shields.io/badge/2.0.13-pinia-yellow)\n![vant](https://img.shields.io/badge/3.4.9-vant-409EFF)\n![sass](https://img.shields.io/badge/1.50.1-sass-orange)\n  \n\u003c/div\u003e\n\n\u003cdiv align=center\u003e\n  \n![nprogress](https://img.shields.io/badge/0.2.0-nprogress-red)\n![vite](https://img.shields.io/badge/2.9.5-vite-orange)\n![typeScript](https://img.shields.io/badge/4.4.0-typeScript-lightgrey)\n![vue](https://img.shields.io/badge/3.2.33-vue-brightgreen)\n![axios](https://img.shields.io/badge/0.26.1-axios-ff69b4)\n![vue-router](https://img.shields.io/badge/4.0.14-vue%20router-blueviolet)\n  \n\u003c/div\u003e\n\n# ⚡️ 简介\n\n一个开箱即用，基于 `vite 2` + `typeScript` +  `vue 3` + `vant 3` + `pinia` + `vue-router 4` + `axios` 的H5项目模板。\n\n\n# 🚀 开发\n\n1. 安装\n\n```\nnpm install\n```\n\n2. 运行\n\n```\nnpm run serve\n```\n\n# 📦️ 多环境打包\n\n- 测试环境打包\n\n```\nnpm run build_test\n```\n\n- 生产环境打包\n\n```\nnpm run build\n```\n\n# 🔧 代码检查修复\n\n- 格式检查\n\n```\nnpm run lint\n```\n\n- 自动修复\n\n```\nnpm run lint-fix\n```\n\n# 📚 目录\n\n```\n├─ .env.xxx // 各环境的配置文件\n├─ .eslintrc.js // eslint配置\n├─ postcss.config.js // rem配置\n├─ vite.config.ts // 项目配置\n├─ tsconfig.json // ts配置\n├─ index.html // 入口文件\n└─ src\n  │─ App.vue // 根容器\n  │─ main.ts\n  │  \n  ├─ components // 组件\n  │          \n  ├─ config // 项目级配置\n  │    │\n  │    └─index.ts\n  │      \n  ├─ pages // 页面\n  │                          \n  ├─ router // 路由\n  │          \n  ├─ servers // 接口\n  │   │  \n  │   │─ request.ts // 封装\n  │   └─ api // 接口\n  │      \n  ├─ assets // 静态资源\n  │              \n  ├─ store // pinia             \n  │      \n  ├─ types // ts类型定义\n  │      \n  └─ utils // 工具库\n  │ │  index.ts\n  │ │  loading.ts // loading封装\n  │ │  toast.ts // 弹窗封装\n  │ └─md5\n  └─\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp993080086%2Fvite-h5-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp993080086%2Fvite-h5-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp993080086%2Fvite-h5-template/lists"}