README.md
July 6, 2016 · View on GitHub
#angular2官网练习项目-英雄编辑器
一、项目启动方法
1. 设置镜像
npm config set registry https://registry.npm.taobao.org 淘宝的镜像,比国外的快n倍
2. 安装typescript编译工具
npm install -g typings
3. 安装依赖 确保npm版本是3.x以上
npm install && typings install
3.1. 如果发现node-sass安装失败 再执行一次 npm install node-sass,不报错就可以了。这源自于天朝的牛逼墙
4. 运行项目
npm run start
5. 访问项目
http://localhost:8080
二、效果图
