mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-09-11 05:15:58 +08:00
修改readme
This commit is contained in:
parent
afa2f1efd4
commit
1b448e7947
66
README.md
66
README.md
@ -1,37 +1,43 @@
|
||||
# ant_yixiaobao_h5
|
||||
# vue-h5-template
|
||||
|
||||
基于vue-cli3.0+webpack 4+vant ui + sass+ rem适配方案+axios封装,构建手机端模板脚手架
|
||||
|
||||
#### 介绍
|
||||
蚁小宝微信公众账号开发vue h5
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
1. vuecli3.0
|
||||
2. 多环境开发
|
||||
3. axios封装
|
||||
4. rem适配方案
|
||||
|
||||
|
||||
#### 码云特技
|
||||
#### 多环境
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
|
||||
之前写过一个多环境的方案,是基于vue-cli2.0的 [vue多环境配置方案-传送门](https://segmentfault.com/a/1190000019136606)
|
||||
最近新的项目采用了vuecli3.0开始了一番折腾
|
||||
|
||||
这里参考了[vue-admin-template](https://github.com/PanJiaChen/vue-admin-template) 基本思路不变
|
||||
在src的文件里新建config 根据不同的环境去引用不同的配置文件,不同的是在根目录下有三个设置环境变量的文件
|
||||
这里可以参考vue-admin-template
|
||||
|
||||
#### rem适配方案
|
||||
|
||||
还是那句话,用vw还是用rem,这是个问题?
|
||||
|
||||
选用rem的原因是因为vant直接给到了这个适配方案,个人也比较喜欢这个方案
|
||||
|
||||
[vant](https://youzan.github.io/vant/#/zh-CN/quickstart)
|
||||
|
||||
#### 总结
|
||||
|
||||
因为项目刚刚构建起来,后面还会持续更新,实际使用过程中一定还有很多问题,如果文章中有错误希望能够被指正,一起成长
|
||||
|
||||
# 关于我
|
||||
|
||||
您可以扫描添加下方的微信并备注 Soul 加交流群,给我提意见,交流学习。
|
||||
<p>
|
||||
<img src="https://tweapp.top1buyer.com/mine.jpg" width="256" style="display:inline;">
|
||||
</p>
|
||||
|
||||
如果对你有帮助送我一颗小星星(づ ̄3 ̄)づ╭❤~
|
Loading…
x
Reference in New Issue
Block a user