The dotCMS JavaScript Software Development Kit (SDK) is a group of JavaScript libraries created to facilitate the building of headless pages and the integration with popular frontend frameworks. The SDKs simplify the process of data retrieval through dotCMS REST APIs, enabling developers to concentrate on their front-end code for faster development.
The JavaScript SDK consists of two types of library:
- The dotCMS client library,
@dotcms/client
, interacts securely with the dotCMS instance API. - Rendering libraries contain components and utilities to render the content and interact with the Universal Visual Editor.
@dotcms/react
supports sites and applications built using ReactJS.
Additional rendering libraries are planned to extend support for further frameworks in future releases, such as an Angular library currently under development. It is also possible to build one's own custom library to support frameworks not yet listed here.
The Javascript SDK is well-suited for use with the Universal Visual Editor, which allows in-context editing of remote websites or apps in dotCMS.