在大型应用中,我们可能需要将应用划分为更小的块,并在需要时才从服务器加载组件。为了实现这一点,Vue 提供了一个 defineAsyncComponent 函数。
defineAsyncComponent