To display the material in {{outlet}} on the root page /, you must define a script handler for the index:
Your navigator code will probably look like this:
<script type="text/x-handlebars"> <div class="navbar ..."> ... </div> {{outlet}} </script>
The root page, which will be located inside {{outlet}}, is a couple:
<script type="text/x-handlebars" id="index"> <div class="container"> <h1>Root page!!</h1> </div> </script>
In other words, you need to create a script handle that will have id = "index".
Must work. It does not need any js code to work.
source share