Skip to content

Instantly share code, notes, and snippets.

@brentschooley
Last active December 28, 2015 19:09
Show Gist options
  • Save brentschooley/7548753 to your computer and use it in GitHub Desktop.
Save brentschooley/7548753 to your computer and use it in GitHub Desktop.
Example template for basic Ember.js app without build tools.
<script type="text/x-handlebars">
<h2>Welcome to Ember.js</h2>
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="index">
<ul>
{{#each item in model}}
<li>{{item}}</li>
{{/each}}
</ul>
</script>
<script type="text/x-handlebars" data-template-name="foo">
{{more-foo "blah"}}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment