It seems Nuxt has pre-configured to lazy load every route. How can I disable lazy-loading for some of my routes so that they can be loaded along with the main bundle as long as the website is visited?
In normal Vue CLI project, I can simply change:
routes: [
{
path: '/some/link',
component: () => import('./path/to/MyRouterView.vue')
}
]
to
import MyRouterView from './path/of/MyRouterView';
routes: [
{
path: '/some/link',
component: MyRouterView
}
]
But what's the equivalent approach for Nuxt project?