南华灯会H5

tangning f7d4a7e653 commit 8 月之前
.husky 1b386d3c2b 1 9 月之前
public cb494f2112 commit 9 月之前
src f7d4a7e653 commit 8 月之前
.env.development 1b386d3c2b 1 9 月之前
.env.production 1b386d3c2b 1 9 月之前
.env.test 1b386d3c2b 1 9 月之前
.eslintignore 1b386d3c2b 1 9 月之前
.eslintrc.js 1b386d3c2b 1 9 月之前
.gitignore 1b386d3c2b 1 9 月之前
.lintstagedrc.json 1b386d3c2b 1 9 月之前
.prettierignore 1b386d3c2b 1 9 月之前
.prettierrc.js 1b386d3c2b 1 9 月之前
README.md e3d554207e first commit 9 月之前
package-lock.json 1b386d3c2b 1 9 月之前
package.json c3518f9183 commit 9 月之前
postcss.config.js 1b386d3c2b 1 9 月之前
vue.config.js cb494f2112 commit 9 月之前
yarn.lock c3518f9183 commit 9 月之前

README.md

![webpack](https://img.shields.io/badge/5.54.0-webpack-orange) ![vant](https://img.shields.io/badge/2.12.48-vant-409EFF) ![sass](https://img.shields.io/badge/1.53.0-sass-orange)
![vue](https://img.shields.io/badge/2.6.14-vue-brightgreen) ![axios](https://img.shields.io/badge/0.27.2-axios-ff69b4) ![vue-router](https://img.shields.io/badge/3.5.4-vue%20router-blueviolet) ![vuex](https://img.shields.io/badge/3.6.2-vuex-yellow) ![postcss-px-to-viewport](https://img.shields.io/badge/1.1.1-postcss--px--to--viewport-blue)

⚡️ 简介

一个开箱即用,基于 webpack 5 + vue 2 + vant 2 + vuex + vue-router 3 + axios 的H5项目模板。

🚀 开发

  1. 安装
npm install
  1. 运行
npm run serve

📦️ 多环境打包

  • 测试环境打包
npm run build_test
  • 生产环境打包
npm run build

🔧 代码修复

npm run lint-fix

📚 目录

├─ .env.xxx // 各环境的配置文件
├─ .eslintrc.js // eslint配置
├─ vue.config.js // vue配置
└─ src
  │─ App.vue // 根容器
  │─ main.js
  │  
  ├─ components // 组件
  │      
  ├─ pages // 页面
  │                          
  ├─ router // 路由
  │          
  ├─ services // 接口
  │   │  
  │   │─ request // 封装
  │   └─ api // 接口
  │      
  ├─ static // 静态资源
  │              
  ├─ store // vuex
  │      
  └─ utils // 工具库
  │ │  index.js
  │ │  loading.js // loading封装
  │ │  toast.js // 弹窗封装  
  │ └─
  │......