Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1546

Svelte 'target' is a required option

$
0
0

I have a code like this:

<Microfrontend    components: {        BoLayout: BoLayout2,    },/>

Microfrontend uses dynamic import to get an entry component file to render.

The micfrontend code itself is:

<svelte:component this={components['BoLayout']} />

The error message I get:

Uncaught (in promise) Error: 'target' is a required option

What could be the cause of this problem ? How to solve it ?


Viewing all articles
Browse latest Browse all 1546

Trending Articles