demo: https://lincenying.github.io/mmf-blog-vue2-jsx-lc/
react版本: https://github.com/lincenying/mmf-blog-react
react(dva)版本: https://github.com/lincenying/mmf-blog-dva
vue1版本: https://github.com/lincenying/mmf-blog-vue
vue2版本: https://github.com/lincenying/mmf-blog-vue2
vue2(jsx语法)版本: https://github.com/lincenying/mmf-blog-vue2-jsx
vue2(jsx语法,leancloud)版本: https://github.com/lincenying/mmf-blog-vue2-jsx-lc
vue2 服务端渲染版本: https://github.com/lincenying/mmf-blog-vue2-ssr
- 到 https://leancloud.cn 申请一个帐号
- 创建一个 应用
- 获取 App Key 和 Master Key
- 修改 ./src/api/index.js 下的下面两行
var APP_ID = 'M1SivUjmGWHTFDv6FpwYxTpl-gzGzoHsz'
var APP_KEY = 'OwVDXgMCR09ztWdUIYGqG5Hl'
// 安装cooking
npm install cooking-cli -g
// 安装依赖
npm install or yarn
// 生产环境
npm run build
// 开发环境
npm run dev