Arguments
-
stringrequiredThe id of the component.
-
objectrequiredOptions for site version and locale.
Return type
Promise<MakeswiftComponentSnapshot | null>
An opaque
MakeswiftComponentSnapshot object that is only intended to be rendered by
<MakeswiftComponent> and <Slot>.Examples
The following examples expect that you have a Makeswift client instance already configured and exported from"@/makeswift/client.ts". If you don’t, see the client reference.