Skip to content
My blog based on LeanCloud-Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FE
public
server-modules
.gitignore
.jshintrc
LICENSE
README.md
npm-debug.log
package.json
server.js

README.md

  _                  ___ _             _   __   __            ___ _           
 | |   ___ __ _ _ _ / __| |___ _  _ __| |__\ \ / /  _ ___ ___| _ ) |___  __ _ 
 | |__/ -_) _` | ' \ (__| / _ \ || / _` |___\ V / || / -_)___| _ \ / _ \/ _` |
 |____\___\__,_|_||_\___|_\___/\_,_\__,_|    \_/ \_,_\___|   |___/_\___/\__, |
                                                                        |___/                         

LeanCloud-Vue-Blog

License MIT  platform  platform 

Introduction

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

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

Usage

开发

git clone git@github.com/RoyalMjz/LeanCloud-Vue-Blog.git
$ cd LeanCloud-Vue-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

LeanCloud-Vue-Blog is licensed under the MIT Open Source license. For more information, please see the LICENSE file in this repository.

You can’t perform that action at this time.