Because async components are not bundled with your app, they need to be loaded when requested. This means that your network could be slow, go down, or the file could be completely missing. This lesson shows you how to handle these scenarios with Vue…
In large applications, dividing the application into smaller chunks is often times necessary. In this lesson, we will look at how vue loads async components into your application. <template> <div> <section class="pa2"> <h2&g…
Vue provides a straight-forward syntax for loading components at runtime to help shave off initial bundle size. You simply define a function that returns an object with a component property pointing to a promise that loads a component, then Vue takes…