Browse Source

Update README.md

Junx Liu 7 years ago
parent
commit
0e9fd7966d
1 changed files with 11 additions and 15 deletions
  1. 11 15
      README.md

+ 11 - 15
README.md

@@ -18,25 +18,25 @@ npm run build
 npm run build --report
 ```
 
-> 更新内容
+## 更新内容
 
-```
-#1.安装vue-resource  better-scroll
+``` bash
+# 1.安装vue-resource  better-scroll
 cnpm install vue-resource better-scroll --save
 
 
-#2.安装stylus stylus-loader 
+# 2.安装stylus stylus-loader 
 cnpm install stylus stylus-loader --save-dev
 
 
-#3.build目录webpack.base.conf.js   修改alias为
+# 3.build目录webpack.base.conf.js   修改alias为
     {
         'src': path.resolve(__dirname, '../src'),
         'common': path.resolve(__dirname, '../src/common'),
         'components': path.resolve(__dirname, '../src/components')
     }
 
-#4.修改.eslintrc.js 添加规则
+# 4.修改.eslintrc.js 添加规则
     'semi': ['error', 'always'],
     'no-tabs': 0,
     'indent': 0,
@@ -45,17 +45,14 @@ cnpm install stylus stylus-loader --save-dev
 
 
 
-#5.http://eslint.org/docs/rules/no-multiple-empty-lines  Too many blank lines at the end of file. Max of 0 
-
-allowed
-src\App.vue:52:1   App.vue报错
+# 5.http://eslint.org/docs/rules/no-multiple-empty-lines  Too many blank lines at the end of file. Max of 0 allowed src\App.vue:52:1   App.vue报错
 
 .eslintrc.js 添加规则
     'no-multiple-empty-lines': ["error", { "max": 2, "maxBOF": 1}]
 
 
 
-#6.修改config目录下的index.js文件
+# 6.修改config目录下的index.js文件
 
 设置代理 
     proxyTable: {
@@ -65,11 +62,11 @@ src\App.vue:52:1   App.vue报错
 
 
 
-#7.修改dev-server.js文件,现在只负责后端数据的传输
+# 7.修改dev-server.js文件,现在只负责后端数据的传输
 删除webpack依赖,修改port为8088
 
 
-#8.路由栏     商品 评论 商家   的下划线消失了
+# 8.路由栏     商品 评论 商家   的下划线消失了
 修改App.vue文件样式 .tab 下 将
 border-1px(rgba(7, 17, 27, 0.1))
 移到注释
@@ -78,8 +75,7 @@ border-1px(rgba(7, 17, 27, 0.1))
 解决问题
 
 
-#9.从App.vue提取路由 单独放到router的index.js中
-
+# 9.从App.vue提取路由 单独放到router的index.js中
 ```
 
 For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).