NuxtN
Nuxt3y ago
rightnow

Plugin hooks

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.hook('app:start', () => {
    console.log('app start')
  })
})

This produces no console log inside my application. Is it the right syntax?
Was this page helpful?