一个简单的基于vue的小程序
兄弟之间通信,运用bus 实现发布订阅
bus.$emit() bus.$on()
# 下载依赖
npm install
# 启动服务
npm run dev
# 打包
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.