/src/api/component/index.js
getComponent(tag, nsCode, lang)
tag - string : tag => ns-[gallery|slider] nsCode - string : component's code lang - string? : current language ("fr" is the default value) - Optionnal
tag
string
nsCode
lang
string?
"fr"
import { getComponent } from 'aquila-connector/api/component'; const currentComponent = await getComponent('ns-gallery', 'code_gallery', 'fr');
ns-accordion ns-block-slider ns-blog-articles ns-contact ns-gallery ns-newsletter ns-product-card ns-product-card-list ns-slider
There was an error while loading. Please reload this page.