lazy
import { lazy } from 'overmind/config'
export const config = lazy({
moduleA: async () => await import('./moduleA').config
})import { state } from './state'
export const config = {
state
}export const loadModule = async ({ actions }) => {
await actions.lazy.loadConfig('moduleA')
}Last updated