Builder Blocks in SvelteKit

Hi, I would like to know how to configure and use the builder blocks in SvelteKit. In React, we typically configure it like this:

<BuilderBlocks
parentElementId={props.builderBlock.id}
dataPath={component.options.tabs.${activeTab}.content}
blocks={props.tabs[activeTab].content}
/>

This setup expects the parent ID, the path to the child component, and the blocks. How can I achieve a similar configuration in SvelteKit?"

3 Likes

Hi,

I have the same query related to the builder blocks.
I followed this blog on the forum but as it didnā€™t have any resolution on it

Please help me with this query asap.

Regards,
Ankit

2 Likes

Hello @Ankit,

We have released a fix for the reported issue with blocks in our new version of the Svelte SDK, @builder.io/sdk-svelte@1.0.8 . Could you please verify if the new update fixes the issue for you?