This is why you should lazy load routes and components in Vue

This is why you should lazy load routes and components in Vue

Router

Component

Loading and Error Component ( suspensible should be false )

Suspense ( suspensible: true ( default ) )

mimic an API request