高仿饿了么app
运用技术栈
vue2.5.2 + vue-router3.0.1 + vue-cli + vue-resource + flex布局 + sticky-footer布局 + table布局 + 两栏布局 + es6 + eslint + webpack3.10.0 + stylus
- 移动端border-1px(dpr的应用)
实现效果
项目运行
克隆项目到本地
安装依赖 npm install
本地开发,开启服务器, npm run dev
浏览器访问 http://localhost:8080
构建生产 npm run build
运行打包文件 node prod.server.js
会看到 Listening at http://localhost:9000 打开该网址即可
Build Setup
# 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
For a detailed explanation on how things work, check out the guide and docs for vue-loader.