contentful-connector
v0.2.1
Published
This is a propotype module that allows you to connect to the Contentful API in an Angular application to serve content.
Downloads
4
Readme
ContentfulConnector
This is a propotype module that allows you to connect to the Contentful API in an Angular application to serve content.
This library was generated with Angular CLI version 10.2.4.
Code scaffolding
Run ng generate component component-name --project contentful-connector
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project contentful-connector
.
Note: Don't forget to add
--project contentful-connector
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build contentful-connector
to build the project. The build artifacts will be stored in the dist/
directory. Since we're publishing to NPM, and it's using Ivy, you probably want a --prod
flag, too.
Publishing
After building your library with ng build contentful-connector
, go to the dist folder cd dist/contentful-connector
and run npm publish
.
Running unit tests
Run ng test contentful-connector
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.