This works in v5, but not in V8 (page is not defined)
From route:
{
path: '/endreBaat/:baatID/',
panel: {
componentUrl: './pages/endreBaat.html',
},
From endreBaat.html:
export default (props, { $f7, $on}) => {
$on('panelInit', () => {
baatID = page.params.baatID;
console.log(baatID);
});
return $render;
};