Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 822 Bytes

README.zh_CN.md

File metadata and controls

33 lines (20 loc) · 822 Bytes

基于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

其他

  1. 开发脚手架依赖于cherub
  2. 后端数据存储用的是leancloud,可配置自己的数据存储地址 main.js 92行