AEM resource type(s).
Function mapping a class with the given resource types.
Use to register resource types to Class mapping.
Example:
import { MapTo } from '@adobe/aem-spa-component-mapping';
class MyComponent {
...
}
export default MapTo('my/resource/type')(MyComponent);
AEM resource type(s).
Function mapping a class with the given resource types.
Generated using TypeDoc
Use to register resource types to Class mapping in a lazyLoad fashion, with dynamic imports
Example: