服务端渲染DEMO,api采取的是豆瓣API。 production配置信息写在congfig/prod.env.js中。 beta配置信息写在congfig/beta.env.js中。 dev配置信息写在congfig/dev.env.js中。
# install dependencies
npm install
# serve with hot reload at localhost:8888
npm run dev
# build for production with minification
npm run build
# build for beta with minification
npm run build:beta
For detailed explanation on how things work, checkout the guide and docs for vue-loader.