on.pageInit not working with Vue

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.

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() {...}
1 Like