饿了吗&美团外卖,使用vue+mongodb+node+express构建的全栈项目。
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run all tests
npm test
-
home 首页
-
discover 发现
-
order 订单
-
profile 我的
-
filter-nav 搜索过滤组件
-
food-list 食物列表
-
shop-list 商家列表
-
vue-keep-alive独有钩子函数:activated、deactivated
-
组件命名、api命名,RESTApi设计
-
主题色设计
-
css嵌套命名,需要再次优化下,以catalog.vue为例~~~
-
9.7任务:1、将字体,颜色等提取为变量;2、进一步提取公共组件,优化电梯组件
-
vue/jquery混合,是否不利于维护?
For a detailed explanation on how things work, check out the guide and docs for vue-loader.