Hey Guys,
I’m upgrading from v1 to v2 and i had my own routing in v1, now all of a sudden this doesn’t work anymore
I disabled auto init like i did in v1
this.f7 = new Framework7({
root: ‘#app’,
id: ‘my.id’,
name: ‘My App’,
theme: ‘ios’,
panel: {
swipe: ‘right’,
},
init: false,
cache: false,
});
// Init/Create main view
mainView = this.f7.views.create(’.view-main’, {});
Now this:
$$(document).on(‘page:init’, function(e)
Only fires the first time, not when a click on a link in v1 it did fire and i got the page info back in the event.
I just want it to work the old way with an ajax call every time a link gets clicked.
router.navigate(url) does nothing
How can i solve this?