Load Vue Async Components

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

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 care of the rest for you.