The Vue-H5-Template
project provides the basic template required for building mobile H5 page
development, and provides some general solutions, reusable components and extended functions.
The project maintains two versions, includes vue2.x
and vue3.x
. Please select a different branch to view the details.
# clone
$ git -b 2.x [email protected]:Ewall1106/vue-h5-template.git
# install & run
$ yarn & yarn dev
🔨 basic
eslint
Check and error promptprettier
uniform program stylevw
mobile adaptionvuex
encapsulation && usagevue-router
routing configuration and permission controlaxios
encapsulation and request
🔨 components
vant
install && usagescroll
horizontal scroll componentsvg-icon
icon component- ...
|-- public
|-- src
| |-- api // api
| |-- assets // assets && picture
| |-- components // generic components
| |-- filters // filters
| |-- icons // icons
| |-- router // router
| |-- store // state management
| |-- styles // common styles
| |-- utils // utility function
| |-- views // pages
| |-- App.vue // main page
| |-- main.js // entry file
|-- babel.config.js // babel config
|-- changelog.md // changelog
|-- package.json // just package.json
|-- .postcssrc.js // postcss config
|-- vue.config.js // vue config
|-- ...
-
Copyright (c) 2022-present Ewall Xiong