Vue 仿豆瓣电影app做的一个demo
douban movie item
Demo链接 https://benchenchuang.github.io/movie/#/
豆瓣电影api跨域问题,我是直接通过this.$http.jsonp请求获得的,请求地址也加了apikey(别人的)
# 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 detailed explanation on how things work, checkout the guide and docs for vue-loader.