haoht / element

高仿饿了么app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

高仿饿了么app

运用技术栈

vue2.5.2 + vue-router3.0.1 + vue-cli + vue-resource + flex布局 + sticky-footer布局 + es6 + eslint + webpack3.10.0 + stylus 以及移动端border-1px的实现

实现效果

image image image image image image image image

项目运行

克隆项目到本地

安装依赖 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.

About

高仿饿了么app


Languages

Language:Vue 69.3%Language:JavaScript 25.8%Language:CSS 4.5%Language:HTML 0.4%