Alternatively to the lazy loading syntax shown earlier in the course (in the Routing section), you can also use the following syntax for loading components lazily upon routing when using a project created with Vue CLI 3+:

const User = () => import('./components/user/User.vue');
...
export const routes = [
    ...,
    {
        path: '/user', components: {
            default: User,
            ...
        }
    }
];