http://todomvc.com/ this site have an example for ember.js I clone this project to my computer and just double clicked index.html it runs, as what I expect.
but in ember's guide http://ift.tt/1EbRZy5
I install the ember-cli, and create a new project, then build it.
ember new myapp
ember build
I can found my files in /dist, and then I double clicked the index.html but it fails.
as what this post said, "You have to serve your directory by an http server."
why I need a server to run this project, instead of just open this in my browser?
Aucun commentaire:
Enregistrer un commentaire