Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 966 Bytes

README.md

File metadata and controls

45 lines (36 loc) · 966 Bytes

flair-tbox

慧翰T-BOX

前提条件

前提条件 - 环境配置

执行以下命令,确认版本符合前提条件中指定的要求

git --version
nvm version

前提条件 - node

http://coreybutler.github.io/nodedistro/ 查询可供使用的node版本(建议使用node 7.2+) 执行以下命令配置node环境

nvm install 7.2.1
nvm use 7.2.1
nvm on

前提条件 - 依赖组件

执行以下命令安装依赖组件

npm install

提示: 在中国内地可以使用--registry参数来指定taobao的镜像来执行npm组件的安装

npm install --registry=http://registry.npm.taobao.org

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build