vue 2.0 用 cNode 社区的接口编写的单页面应用

987 阅读1分钟
原文链接: github.com

用cNode社区提供的接口,模仿编写的项目

A Vue.js project

基于 vue2.0 + vuex + vue-router + ES6 + webpack 的单页面应用

搜索框用的是百度搜索API

有做响应式布局

比较坑的是接口的数据实在不好用,都要自己拼装,资源也比较有限…

没写用户信息里话题的查看更多,因为数据不全会显得简陋怪异。

Build Setup

# install dependencies 
npm install

# 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.