@acorel/contentful-integration
Version:
Contentful integration with SAP Composable Storefront by Acorel
28 lines (21 loc) • 789 B
Markdown
# ContentfulIntegration
## Install
Run `npm install @acorel/contentful-integration` to add the contentful integration to your SAP Composable Storefront.
> Note: Module depends on SAP Composable Storefront.
## Configuration
The extension requires a reference to the Contentful space to use and the access token for the space.
```
providers: [
provideConfig(<ContentfulConfig>{
contentful: {
backend: {
accessToken: 'gLE7mOeEr-0Y7y9Du8RByzLhdC8yGB2wBuR0Q8q2DJA',
space: 'mbzy1h6ggsld'
}
}
})
],
```
Provided space and token gives access to the Acorel demo content.
## Publishing
After building your library with `ng build contentful-integration`, go to the dist folder `cd dist/contentful-integration` and run `npm publish`.