Ember App Kit(EAK)是開發Ember.js應用程式的穩定起手工具,讓你更容易開發、建置、測試,以及發佈應用程式。
EAK是使用Grunt做任務管理,編譯所有類型的asset,包括:
- Handlebars templates (or Emblem)
- LESS (or SASS, or Compass, or Stylus…)
- CoffeeScript
- Minified JS & CSS
使用git clone把EAK的repo給clone下來。
$ git clone https://github.com/stefanpenner/ember-app-kit.git YourProjectName先確認有安裝NodeJS,接著安裝Grunt command-line。
$ npm install -g grunt-cli
回到YourProjectName資料夾安裝packages。
$ npm install前端有用到Bower,所以也要安裝。
$ npm install -g bower
$ bower install等全部都安裝完,就能簡單執行server。
$ grunt server