Arguments
-
The id of the component.
-
Options for site version and locale.
Return type
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.
Basic usage
Localization
Changelog
Version | Changes |
---|---|
v0.23.0 | getComponentSnapshot method introduced |