Skip to content

v3.3.0

Compare
Choose a tag to compare
@Javiani Javiani released this 03 Jun 19:54

[ Feature ] - Enabled Multiple init:main() calls for code splitting.
[ Feature ] - Unlocked Async Components

Code like this is now supported:

import inview from '../../helpers/inview'

export default async ({ init:main }) => {

    await inview('.hello')
    
    const helloworld = await import('./hello-world')
    
    main(() => [
        helloworld.default
    ])
}