What is the alternative in v2 of framework7 to using template7Pages: true
in the Framework7 initializer?
Or do I have to call the compile function for every page now?
What is the alternative in v2 of framework7 to using template7Pages: true
in the Framework7 initializer?
Or do I have to call the compile function for every page now?
There is no such thing anymore. Check the Routes docs where you can pass Template7 template or url with required context
How to apply Template7 or Component page for index.html?
Thx, I have tried a similar code, but had not success.
I called app.router.navigate(‘url.html’, {context: {var:x}}) but page did not get compiled, just appeared as {{var}}.
OK, got it. Need to define it as a route with templateUrl parameter.