本项目基于vue2.0编写的饿了么高仿外卖软件,利用vue-router+vue-resource与数据进行交互,利用vue-cli脚手架工具和webpack自动化构建工具。
>通过npm安装本地服务第三方依赖模块(需要已安装Node.js)
# install dependencies
npm install
>启动服务(http://localhost:8080)
# serve with hot reload at localhost:8080
npm run dev
>发布代码
# build for production with minification
npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.