Skip to content

Instantly share code, notes, and snippets.

@gregtap
Created October 27, 2015 05:24
Show Gist options
  • Select an option

  • Save gregtap/4bc74f1a8382485387bd to your computer and use it in GitHub Desktop.

Select an option

Save gregtap/4bc74f1a8382485387bd to your computer and use it in GitHub Desktop.
Ember templates
{{nav-menu}}
{{nav-bar}}
<main>
{{outlet}}
</main>
I have a welcome route.
Router.map(function() {
this.route('welcome', { path: '/' });
this.route('about', { path: '/about' });
});
I would like both to use the same base.hbs and fill up what is {{outlet}}
PS: I may have missunderstood outlet usage.
{{partial "base"}}
<h1>Welcome!</h1>
<p>blabla</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment