Vue-H5-Template
provides the basic template required for h5 page development, and including some common solutions and extended functions on the basis of the official templates.
You can choose the vue version you want: vue2 | vue3
Build components: https://bamboo-material.vercel.app
More infomation: https://bamboo-docs.vercel.app
# clone
$ git clone git@github.com:Ewall1106/vue-h5-template.git
# install & run
$ yarn & yarn dev
eslint
check and error prompt.- reset stylesheet to reduce browser inconsistencies.
- generate simulated data by
mock.js
. prettier
uniform program style.- mobile adaptation.
vuex
encapsulation && usage.vue-router
routing configuration and permission control.axios
encapsulation and request.- and more...
-
If you want to use this project as the basic template on
PC
, then you only need to remove the content related to the mobile adaptation, that is, the configuration related to thepostcss-px-to-viewport
plugin. -
Other relevant template recommend:
- MIT
- Copyright (c) 2022-present danielxiong