Skip to content

jiangjiu/vue-leancloud-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 14, 2016
078c5d4 · Nov 14, 2016

History

54 Commits
Nov 14, 2016
Nov 14, 2016
Nov 14, 2016
Jul 7, 2016
Jul 5, 2016
Jul 21, 2016
Jul 21, 2016
Jul 5, 2016
Jul 5, 2016

Repository files navigation

Vue.js+LeanCloud单页面博客

简介

一个前后端完全分离的单页应用 线上地址点此查看

采用了之前写的 vue.js+LeanCloud(node.js) 的开发样板 github地址点此查看

线上动图如果不显示请点这里

version 1.0 pre-a

  • 回复
  • 引用回复

version 0.1.1

  • 触屏延迟优化

version 0.1

  • 响应式布局
  • 主页,关于,标签
  • 过渡动画
  • 文章显示markdown 和代码高亮

技术栈

前端

后端

开发

git clone git@github.com:jiangjiu/vue-leancloud-blog.git
$ cd vue-leancloud-blog
$ npm install

// 启动服务器端, 默认地址 http://localhost:3000
$ lean up

// 另开一个 terminal
$ cd FE
$ npm install
// 启动前端项目,默认地址 http://localhost:8080
$ npm run dev

构建部署

// 在FE目录下  构建前端文件至 /public 文件夹
$ npm run build

// 根目录下 leancloud命令行部署 / 通过 github 部署
$ lean deploy / lean deploy -g

具体部署可参考LeanCloud云引擎 Node.js 部署

License

MIT

About

Vue.js+Vuex+vue-router 我的单页应用博客

Resources

Stars

Watchers

Forks

Packages

No packages published