@ob7 wrote:
Hi I am new to javascript sites, I've been using php. I've chosen Ember, and would like to know how do I include a template file within another?
For example, within my application.hbs I have
<header>
<nav></nav>
</header>And within application.hbs there is also
<footer>
<nav>
</nav>
</footer>Both
<nav>
elements contain exactly the same markup. How can I make this its own file and include it into here?
Posts: 2
Participants: 1