Skip to content

Instantly share code, notes, and snippets.

@joostdevries
Last active August 29, 2015 14:16
Show Gist options
  • Save joostdevries/b5fff2713753b707bac2 to your computer and use it in GitHub Desktop.
Save joostdevries/b5fff2713753b707bac2 to your computer and use it in GitHub Desktop.
How to create an Ember CLI app using Github Gist

Gist > Ember CLI app

Basically, it's really simple: Create a Gist where the files follow the same naming convention as you would use in an Ember CLI app.

Because Gists can't have folders, just use . instead of /. Eg:

  • controllers.application.js
  • templates.application.hbs

Once your Gist is ready to test, just put the ID in the playground URL, eg. http://ember-playground.joostdvrs.com/f2c90713bdfdf54a262b. All the magic then happens client-side:

  • Your templates are transpiled using ember-template-compiler
  • Your JS is transpiled using Esperanto

Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment