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

4 lines
129 B
TypeScript
Raw Permalink Normal View History

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