Skip to content

Commit

Permalink
docs: 修改readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smallwombat committed Jul 14, 2020
1 parent 2d53b48 commit 5a9ebfe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ module.exports = {

parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
sourceType: 'module',
ecmaFeatures:{
// 支持装饰器
legacyDecorators: true
}
},

env: {
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

# 使用说明

本框架是一套基于vant封装的开箱即用的移动端框架,使用本框架不需要再从`vue create project`命令开始了,本框架内部提供了许多配置,只需要进行少量调整即可开始功能开发。欢迎大家使用,有问题或者需求请提交`Issues`,本框架将持续更新。
这个项目的起源是因为团队有许多移动端项目,但是不同人搭建项目的时候配置的都不一样,导致维护成本很高,所以我就整理了这个项目,将许多基础配置进行了封装,比如常用的移动端适配,路由缓存,gzip压缩,移动端适配等等,开发人员只需要fork/clone下来即可直接使用,无需再做配置。欢迎大家使用,有问题或者需求请提交`Issues`,本框架将持续更新。

我是子君,如果觉得这个框架有用,麻烦给我一个star,谢谢,也可以关注公众号【前端有的玩】一起玩前端。


# 功能点

Expand Down Expand Up @@ -87,7 +90,7 @@ git config --global core.autocrlf input



我是子君,如果喜欢,请给一个star 谢谢,也可以关注公众号【前端有的玩】一起玩前端




Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "glink-eai-portal-mobile",
"name": "vue-vant-base",
"version": "0.1.0",
"private": true,
"description": "这个项目是将一些基础配置比如eslint,移动端适配等进行了封装,开发人员只需fork就可直接开箱即用,不用再做额外的配置",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
Expand Down

0 comments on commit 5a9ebfe

Please sign in to comment.