Register to config:
plugins: [
hookdeck({
source: import.meta.env.NUXT_HOOKDECK_SOURCE || '{your hookdeck source}',
urlMap: {
Clerk: 'hook/clerk',
Paddle: 'hook/paddle',
},
enabled: import.meta.env.NUXT_HOOKDECK_ENABLED === '1',
}),
],The display messages ehen running dev server:
Connections
xxx -> xxx forwarding to /api/
4:07:08 PM
HOOKDECK URL MAPPING: 4:07:08 PM
βββββββββββ¬βββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ 4:07:08 PM
β (index) β Name β Hook β Dest β
βββββββββββΌβββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 0 β 'Clerk' β 'https://hkdk.events/xxxxxxxxxxxx/hook/clerk' β 'http://localhost:3000/api/hook/clerk' β
β 1 β 'Paddle' β 'https://hkdk.events/xxxxxxxxxxxx/hook/paddle' β 'http://localhost:3000/api/hook/paddle' β
βββββββββββ΄βββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββ
β Nuxt Nitro server built in 614ms nitro 4:07:08 PM
βΉ Vite server warmed up in 1ms 4:07:08 PM
βΉ Vite client warmed up in 1ms
Blog post: https://lab.simular.co/concurrently-run-hookdeck-with-nuxt-vite-app