# sunniejs/vue-h5-template

:tada:vue搭建移动端开发,基于vue-cli4.0+webpack 4+vant ui + sass+ rem适配方案+axios封装，构建手机端模板脚手架

Repository: https://github.com/sunniejs/vue-h5-template
Canonical: https://ross.abutalabs.com/products/vue-h5-template
Homepage: https://sunniejs.github.io/vue-h5-template/
Language: TypeScript
License: MIT
License Family: permissive
Topics: vue, vant, rem, vue-cli4, sass, axios, vant-demo, h5
Last push: 2026-08-23T15:36:04+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2659, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3487, forks 918 (observed 2026-08-28T04:08:07.111708+00:00)

## What it is
A Vue 3 + Vite + TypeScript mobile H5 scaffold/boilerplate integrating Vant, NutUI, and Varlet UI libraries with Pinia, viewport-based adaptation, and Axios/useFetch request wrappers. It ships with file-based routing, i18n, mock data, linting toolchain, and Docker/Nginx deployment configs for rapid mobile web development.

## Use cases
- bootstrap a mobile h5 web app with vue 3
- start a mobile web project with vant ui
- vue mobile template with rem/viewport adaptation
- scaffold a vue 3 + vite + typescript mobile app
- mobile web starter with axios wrapper and pinia
- quickly set up a chinese mobile h5 frontend project

## When to choose
- starting a new mobile-browser-targeted Vue 3 web app and wanting batteries included
- you want Vant/NutUI/Varlet with on-demand auto-import preconfigured
- you need viewport/vw adaptation, i18n, mock data, and Docker deploy out of the box

## When to avoid
- building a native iOS/Android app rather than a mobile web page
- you need a desktop-first or SSR application
- your team prefers configuring its own minimal Vite setup from scratch

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, ui-components, state-management, http-client, build-tool, internationalization, mock-api, developer-tools
- domain: web-development, frontend, mobile-development, developer-tools
- platform: cross-platform
- tags: vue3, vite, vant, h5, mobile-web, scaffold, typescript, pinia, rem-viewport, boilerplate, nodejs, web-server, docker

## Member repositories
- sunniejs/vue-h5-template (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.111708+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:22:38.686851+00:00, confidence not recorded.
  - readme: https://github.com/sunniejs/vue-h5-template (fetched 2026-08-28T04:08:07.111708+00:00, sha a7195037d1e8)
  - homepage: https://sunniejs.github.io/vue-h5-template/ (fetched 2026-08-29T09:30:22.439211+00:00, sha 837f19f6dcb5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
