Obtaining Ember.js and Dependencies Edit Page


TodoMVC has a few dependencies:

For this example, all of these resources should be stored in the folder js/libs located in the same location as index.html. Update your index.html to load these files by placing <script> tags just before your closing </body> tag in the following order:

1
2
3
4
5
6
7
<!-- ... additional lines truncated for brevity ... -->
  <script src="js/libs/jquery-1.10.2.min.js"></script>
  <script src="js/libs/handlebars-1.0.0.js"></script>
  <script src="js/libs/ember.js"></script>
  <script src="js/libs/ember-data.js"></script>
</body>
<!-- ... additional lines truncated for brevity ... -->

Reload your web browser to ensure that all files have been referenced correctly and no errors occur.

If you are using a package manager, such as bower, make sure to checkout the Getting Ember guide for info on other ways to get Ember.js.

Live Preview

Ember.js • TodoMVC

Additional Resources