This package has been deprecated

Author message:

This library has been re-published as @ngx-prismic/client and @ngx-prismic/universal. Please update to use one of these packages. More info at https://github.com/exportarts/ngx-prismic

ngx-prismic
TypeScript icon, indicating that this package has built-in type declarations

1.10.1 • Public • Published

ngx-prismic

npm Build Status codecov Quality Gate Status

This project is intended to provide easier integration of prismic.io into Angular Projects.

Work in Progress... More featues and docs are coming in the future.

How to use

This module is built on top of prismic-javascript and prismic-dom as well as angular.

In lib/renderer/ you find helper-functions and models around prismic-dom to generate HTML from the CMS-data. It is intended to grow if a common functionality is needed but not provided by prismic-dom itself.

In lib/universal you find helper methods used in the context of prerendering pages with Angular Universal.

Finally, in lib/prismic-client you find a service built with Angular's HttpClient to query the Prismic API.

Dependency Management

The project in ./lib has several peer-dependencies. Those are installed as dev-dependencies in the main project to have them available during development, but to not have them included in the final package.json.

Readme

Keywords

Package Sidebar

Install

npm i ngx-prismic

Weekly Downloads

0

Version

1.10.1

License

MIT

Unpacked Size

1.03 MB

Total Files

175

Last publish

Collaborators

  • exportarts_enzo