Nuxt/test/fixtures/basic/plugins/chunk-error.ts

6 lines
139 B
TypeScript
Raw Permalink Normal View History

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('app:chunkError', () => {
console.log('caught chunk load error')
})
})