JavaScript/vue.js/defineAsyncComponent:修订间差异
来自康健生活
| 第155行: | 第155行: | ||
console.log('Loading component...') | console.log('Loading component...') | ||
const module = await import('https://www.unpkg.com/linking-kwy@0.0.8/bundle/linking-kwy.es.js') | const module = await import('https://www.unpkg.com/linking-kwy@0.0.8/bundle/linking-kwy.es.js') | ||
return module.default.Linking | return module.default.Linking | ||
}, | }, | ||
// ... | |||
})</syntaxhighlight> | })</syntaxhighlight> | ||