I just can’t understand where I am going wrong. I have used template as standalone without issues but on framework7, it does not just work, despite trying several tutorials; I must be missing something.
Here is my code
<div class="view view-main">
<!-- Initial Page, "data-name" contains page name -->
<div data-name="home" class="page">
<!-- Top Navbar -->
<div class="navbar" style='background-color: #2086ae;'>
<!-- NAVBAR -->
</div>
<div class="toolbar toolbar-bottom-md custom" >
<!-- TOOLBAR -->
</div>
<!-- Scrollable page content -->
<div class="page-content " >
Template7
<script type="text/template" id="show-template">
<p>Here are the list of people i know:</p>
<ul>
{{#each people}}
<li>{{firstName}} {{lastName}}</li>
{{/each}}
</ul>
</script>
</div>
</div>
</div>
Thanks a great deal, I really missed to append the compiled template.
I have another issue, I have loading the data via an ajax request but the data will not load on a popup.
Only the index page seems to load it.
What can I do to load this ajax request on a popup compiled with template7?
Thanks so much for your assistance, I was able to proceed. The issue was with a popup not loading new data. I was looking for a way to refresh a popup after display (I tried the destroy method on close, but it couldn’t help) I guess this is not appropriate on this topic?