construct a platform by meteor angular2 ionic2
- install meteor:
curl https://install.meteor.com/ | sh
- install npm packages:
meteor npm install
- install typings:
meteor npm install -g typings
- install ts packages:
meteor typings install
- install other files:
meteor npm run prepare
- start server:
meteor
- open in browser: Mac
localhost:3000
- install in mobile device:
meteor run ios-device
&meteor run android-device
- npm taobao:
npm config set registry http://registry.npm.taobao.org
- 安装meteor:
curl https://install.meteor.com/ | sh
- 安装npm包:
meteor npm install
- 安装typings:
meteor npm install -g typings
- 安装ts包:
meteor typings install
- 安装其它文件(icons、字体文件等):
meteor npm run prepare
- 运行应用:
meteor
- 浏览器打开: Mac
localhost:3000
- 在移动设备上运行:
meteor run ios-device
&meteor run android-device
npm config set registry http://registry.npm.taobao.org