on.pageInit not working with Vue


#1

Why is the on.pageInit hook not called with vue plugin?
I need it since the mounted component method seems to be called before the actual page/route is initialized.


#2

Why should it work, where do you see such syntax in Vue? It must be used as usual event handler

<f7-page @page:init="onPageInit">

export default {
  methods: {
    onPageInit() {...}
  }
}