This package has been deprecated

Author message:

Package has been renamed. Please use @adobe/aem-spa-component-mapping

@adobe/cq-spa-component-mapping
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Table of contents

The package is deprecated

The package has been moved. Please use @adobe/aem-spa-component-mapping

Installation

npm install @adobe/cq-spa-component-mapping

Usage

This module provides helpers to map resource types with SPA components.

MapTo

The MapTo helper can be used to directly associate resource type(s) with a given SPA component.

import { MapTo } from '@adobe/spa-component-mapping';

class MyComponent {
    ...
}

export default MapTo('my/resource/type')(MyComponent);

API

@adobe/cq-spa-component-mapping 1.1.2

src/utils/MapComponents.js

Documentation

The technical documentation is already available, but if you are unable to solve your problem or you found a bug you can always contact us and ask for help!

Changelog

1.1.1 - 24 August 2020

  • Deprecating the package. Renaming to aem-spa-component-mapping

1.1.0 - 20 August 2020

  • Change codebase to TypeScript

1.0.3 - 28 September 2018

  • Windows OS support
  • Server-Side Rendering support
  • Modularization

0.0.16 - 20 June 2018

Public release of cq-spa-component-mapping

0.0.15 - 20 April 2018

Initial public release of cq-spa-component-mapping, which provides:

  • MapTo helper to map JS components with AEM resource types
  • ComponentMapping singleton to interact with the existing mappings

Package Sidebar

Install

npm i @adobe/cq-spa-component-mapping

Weekly Downloads

1,013

Version

1.1.2

License

Apache-2.0

Unpacked Size

208 kB

Total Files

15

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe