0
내 라우터 :Ember의 중첩 콘센트?
App.Router.map(function() {
this.resource('overview', {path: "/overview"}, function(){
this.route('standard', {path: "/overview/standard"});
});
});
응용 프로그램 서식 파일 :
<script type="text/x-handlebars" data-template-name="application">
<div id="wrapper" class="clearfix">
<hgroup>
<header>
<div id="sessionInfo">
</div>
</header>
</hgroup>
{{partial Nav}}
<div id="content" class="clearfix">
{{outlet}}
</div>
</div>
</script>
개요 템플릿 :
<script type="text/x-handlebars" data-template-name="overview">
<div class="Box">
<img id="disBox" src="blah.png" />
</div>
{{outlet}}
</script>
표준 템플릿 :
<script type="text/x-handlebars" data-template-name="standard">
<div style="width: 200px; height: 200px; background: blue; float: right;"></div>
</script>
내가 OU를 가지고 할 수 없습니다 다른 콘센트 내부에 무엇이 있는지, 내가 무엇을 놓치고 있는지, URL에있을 때 표준 템플릿이 페이지에로드되지 않습니다. index.html #/overview/standard