没事自己搞搞,做个小博客。 vue2.0+vuex+vue-router+webpack2.0+sass+leancloud. 后续会完善博客文章内容和新功能。敬请期待
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# webpack documentation
[https://vuejs-templates.github.io/webpack](https://vuejs-templates.github.io/webpack)
leancloud文档 https://leancloud.cn/docs/leanstorage_guide-js.html
顺便爆个小技巧: 发布项目下的某个目录(我这里是dist)到到gh-pages分支
git subtree push --prefix=dist origin gh-pages
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
在这里特别感谢 leancloud提供的存储服务