Home

Issue: 3169

How to use require.ensure() in nuxt router?

[issue link]

As i used before in vue,
i write vue router like below, to load resource via layload
const Offer_Create = r => require.ensure([], () => r(require(’./modules/Offer/Create.vue’)), ‘offer_create’)

how do i take it in nuxt ?

This question is available on Nuxt.js community (#c6817)