N
Nuxt2y ago
rightnow

Plugin hooks

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('app:start', () => {
console.log('app start')
})
})
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?
1 Reply
Cue
Cue2y ago
Firstly, what is the app:start hook?
Want results from more Discord servers?
Add your server