3 Star 15 Fork 4

Wax / vite-vue3-h5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

平台简介

移动端布局方案

  • 移动端 Vant3.x + Vue3.x + Vite2.x + Mockjs + Vue-Router4.x + Vuex4.x + REM(postcss-pxtorem) 布局布局的实例运用

首次使用项目,建议 npm run mock, 体验效果佳

配置文件说明

  • vite.config.js vite 配置文件

  • postcss.config.js postcss 配置文件

分支介绍

master 分支

  1. 简单 demo 示例。

dev 分支

  1. 这里是列表文本通过 mock 数据,实现了首页,某东分类,某多分类,购物车(部分功能),我的(可进入江苏旅游舒适度页面<该网站已关闭>)

simple 分支

  1. 基础框架

simple-pinia分支

  1. 基础框架: 主要动作:移除vuex 使用pinia进行数据存储。

前端运行

# 克隆项目
# git clone https://gitee.com/jifengf/vite-vue3-h5.git

# 进入项目目录
cd vite-vue3-h5

# 安装依赖
npm install

# 启动服务
npm run dev
# 启动mock开发环境 npm run mock
# 启动非mock开发环境 npm run dev

# 构建测试环境 npm run build:stage
# 构建生产环境 npm run build:prod
# 构建mock生产环境 npm run build:mock
# 前端访问地址 http://localhost:8000

登录信息

  • admin/admin123

示例 DEMO

输入图片说明

MIT License Copyright (c) 2022 Wax Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

移动端 Vant3.x + Vue3.x + Vite2.x + Mockjs + Vue-Router4.x + Vuex4.x(Pinia) + REM(postcss-pxtorem) 布局的实例运用 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/jifengf/vite-vue3-h5.git
git@gitee.com:jifengf/vite-vue3-h5.git
jifengf
vite-vue3-h5
vite-vue3-h5
dev

搜索帮助