0
模板
我这在我的html:如何打印在灰烬
<script type="text/x-handlebars" template-name="index">
<h1>Login Page</h1>
{{#linkTo "index"}}<img class="logo">{{/linkTo}}
<button {{action doLogin}}>Login</button>
</script>
和我这在我的router.js:
myTalk.Router.map(function() {
this.route('index', {path:"index"});
});
,但我这个错误:
Uncaught Error: No route matched the URL '..../index.html'
在此先感谢和抱歉不好我的英语