We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e247019 commit 825e71dCopy full SHA for 825e71d
packages/slidev/node/virtual/slides.ts
@@ -27,7 +27,7 @@ export const templateSlides: VirtualModuleTemplate = {
27
// For some unknown reason, import error won't be caught by the error component. Catch it here.
28
`const load${no} = async () => {`,
29
` try { return componentsCache[${idx}] ??= await import('${VIRTUAL_SLIDE_PREFIX}${no}/md') }`,
30
- ` catch (e) { console.error('slide import failed', e); return SlideError }`,
+ ` catch (e) { console.error('slide failed to load', e); return SlideError }`,
31
`}`,
32
)
33
return `{ no: ${no}, meta: f${no}, load: load${no}, component: getAsyncComponent(${idx}, load${no}) }`
0 commit comments