Skip to content

Instantly share code, notes, and snippets.

@dz1984
Last active January 1, 2016 20:28
Show Gist options
  • Select an option

  • Save dz1984/8196859 to your computer and use it in GitHub Desktop.

Select an option

Save dz1984/8196859 to your computer and use it in GitHub Desktop.
Ember App Kit(EAK)隨手筆記。

Overview

Ember App Kit(EAK)是開發Ember.js應用程式的穩定起手工具,讓你更容易開發、建置、測試,以及發佈應用程式。

Asset Compilation

EAK是使用Grunt做任務管理,編譯所有類型的asset,包括:

  • Handlebars templates (or Emblem)
  • LESS (or SASS, or Compass, or Stylus…)
  • CoffeeScript
  • Minified JS & CSS

Modules

Testing

Dependency Management

And More

快速入門

安裝

使用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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment