File tree 5 files changed +150
-131
lines changed 5 files changed +150
-131
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,9 @@ __注:此项目纯属个人瞎搞,正常下单请选择饿了么官方客户
20
20
vue2 + vuex + vue-router + webpack + ES6/7 + fetch + sass + flex + svg
21
21
22
22
23
- ## 关于 数据接口 的说明🤔
24
-
25
- ### 2017-05-30
26
-
27
- 由于一些原因,以前的数据接口无法使用,导致项目无法正常运行。以后改用nodejs构建的[ 后台系统] ( https://github.com/bailicangdu/node-elm ) 接口,数据接口的格式保持了和官网的一致。并提供对应的[ 后台管理系统] ( https://github.com/bailicangdu/vue2-manage )
28
-
29
-
30
-
31
23
## 项目运行
32
24
33
- #### 注意:由于涉及大量的 ES6/7 等新属性,nodejs 必须是 6.0 以上版本 ,node 7 是先行版,有可能会出问题,建议使用 node 6 稳定版
25
+ #### 注意:由于涉及大量的 ES6/7 等新属性,node 需要 6.0 以上版本
34
26
35
27
```
36
28
git clone https://github.com/bailicangdu/vue2-elm.git
@@ -39,11 +31,15 @@ cd vue2-elm
39
31
40
32
npm install
41
33
42
- npm run dev (访问线上后台系统)
43
-
44
- npm run local (访问本地后台系统,需运行node-elm后台系统)
34
+ npm run dev
45
35
46
36
```
37
+ ## 另外
38
+ 此项目有配套的后台系统,如果想前后台同时开发,可以下载对应的后台系统:[ 后台项目传送地址] ( https://github.com/bailicangdu/node-elm ) 。
39
+
40
+ 此时启动项目使用:npm run local 而不是 npm run dev。
41
+
42
+ 如果只做前端开发,请忽略这句话。
47
43
48
44
49
45
# 说明
@@ -65,6 +61,14 @@ npm run local (访问本地后台系统,需运行node-elm后台系统)
65
61
> 另外一个 vue2 + vuex 的入门项目,比当前的项目简单很多,非常适合入门练习。[ 地址在这里] ( https://github.com/bailicangdu/vue2-happyfri )
66
62
67
63
64
+ ## 关于 数据接口 的说明🤔
65
+
66
+ ### 2017-05-30
67
+
68
+ 由于一些原因,以前的数据接口无法使用,导致项目无法正常运行。以后改用nodejs构建的[ 后台系统] ( https://github.com/bailicangdu/node-elm ) 接口,数据接口的格式保持了和官网的一致。并提供对应的[ 后台管理系统] ( https://github.com/bailicangdu/vue2-manage )
69
+
70
+
71
+
68
72
# 效果演示
69
73
70
74
[ 查看demo请戳这里] ( http://cangdu.org:8001/ ) (请用chrome手机模式预览)
@@ -75,7 +79,6 @@ npm run local (访问本地后台系统,需运行node-elm后台系统)
75
79
76
80
77
81
78
-
79
82
# 目标功能
80
83
- [x] 定位功能 -- 完成
81
84
- [x] 选择城市 -- 完成
You can’t perform that action at this time.
0 commit comments