meteor介绍

安装

mac/linux:curl https://install.meteor.com/ | sh

常用命令

创建工程 meteor create
运行 meteor,默认是在3000端口
添加第三方开发包meteor add
添加Android平台 meteor add-platform android
添加iOS平台 meteor add-platform ios
运行:

emulator: 
        meteor run android
        meteor run ios
device:
         meteor run android-device
        meteor run ios-device

模板工程

  clock: https://github.com/meteor/clock      
  leaderboard: https://github.com/meteor/leaderboard
  localmarket: https://github.com/meteor/localmarket
  simple-todos: https://github.com/meteor/simple-todos
  simple-todos-react: https://github.com/meteor/simple-todos-react
  simple-todos-angular: https://github.com/meteor/simple-todos-angular
  todos: https://github.com/meteor/todos      
  todos-react: https://github.com/meteor/todos#react
  angular2-boilerplate: https://github.com/bsliran/angular2-meteor-base
使用方法:
  meteor create --example 
  clone下之后,执行meteor npm install

推荐工程

  1. angular-meteor
    这个是使用angular2写meteor的例子

你可能感兴趣的:(meteor介绍)