好吧,作为最低纲领,我有一个index.html
<html>
<body>
hello world
<script type="text/x-handlebars" data-template-name="lists">
<h1>in route lists</h1>
</script>
<script src="http://builds.emberjs.com/beta/ember.js"></script>
<script src="app.js"></script>
</body>
</html>
和一个app.js与
var App = window.App = Ember.Application.create({
LOG_TRANSITIONS: true
});
App.Router.map(function() {
this.resource('lists');
});
当我导航到AppURL /列表时,这还不够让我获得“路线列表”页面吗?