A Vue.js project
# 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
- 使用 vue-cli 构建、打包, 配合 vue全家桶(vue、vuex、vue-router)进行编码
- 使用 jsonp,axios 进行资源请求
- 使用了微博的接口来登录,但仅限于本机ip测试,可以通过调整config中debug来控制是否要从微博中拿取数据
- 开启了本地服务器,只是负责转发请求,绕开跨域
- 本作品参考了两位大神的代码
- https://github.com/Werb/Pixel-Web
- http://www.yatessss.com/2016/07/08/%E4%BD%BF%E7%94%A8vue%E5%AE%8C%E6%88%90%E7%9F%A5%E4%B9%8E%E6%97%A5%E6%8A%A5web%E7%89%88.html
- 代码有些细节部分还有待整理