i have this structure:
<div id="app">
<div class="views tabs">
<div id="tab1" class="view view-main tab tab-active">
<div class="page" data-name="page01"></div>
</div>
<div id="tab2" class="view view-map tab""></div>
.
.
.
</div>
</div>
how i can put in router my first tab (data-name=“page01”)?
routes: [
{
name: 'anotherPage',
path: '/anotherPage/',
url: './anotherPage.html',
on: {
pageInit: function (e, page) {
functionX ();
},
}
},
],
THANKS