lib/renderer/runtime
Ce contenu n’est pas encore disponible dans votre langue.
Functions
Section titled “Functions”importComponentsKeys()
Section titled “importComponentsKeys()”function importComponentsKeys(): Promise<Record<string, any>>
Defined in: studiocms/packages/studiocms/src/lib/renderer/runtime.ts:14
Imports components by their keys from the ‘studiocms:markdown-remark/user-components’ module.
Returns
Section titled “Returns”Promise
<Record
<string
, any
>>
A promise that resolves to an object containing the imported components.
Throws
Section titled “Throws”If any component fails to import, an error is thrown with a prefixed message.