After checking out the example of ember.js on this website (http://todomvc.com/), I decided to clone the project onto my computer. Upon double-clicking the index.html
file, the project ran smoothly, just as I had anticipated.
However, following the instructions in ember's documentation, I was directed to install ember-cli, create a new project, and then build it using the commands below:
ember new myapp
ember build
Although I found all my files in the /dist
directory, attempting to open the index.html
file by double-clicking resulted in failure.
According to this article, "You have to serve your directory with an http server."
I'm puzzled as to why I require a server to run this project instead of simply opening it in my web browser. Any insights?