基于cherub做的一个贺卡模板, 需要先安装cherub
# mac/linux
SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ sudo npm install -g cherub --registry=https://registry.npm.taobao.org
# windows
sudo npm install -g cherub --registry=https://registry.npm.taobao.org --SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/
# 安装ELF之后,clone 项目,安装依赖
clone https://github.com/l-zhi/marrycard.git
cd marrycard
npm install # 或者使用 yarn install
# 开发模式
cherub start
# 构建
cherub build
- 开发脚手架依赖于cherub
- 后端数据存储用的是leancloud,可配置自己的数据存储地址 main.js 92行