MartinOttosen
Aug 18, 2021
  5211
(4 votes)

JS SDK public preview

Maybe you noticed we announced the public preview for CMS 12 a few months ago? CMS 12 natively supports .Net 5 and with it a more portable CMS which no longer requires Windows or IIS. If you like Node.js this is good news, since you can more easily work with your favorite IDE and OS and just run the CMS in the background e.g., in a terminal window in Visual Studio Code. Along with CMS 12 we are releasing a brand-new open-source JS SDK now available in preview on GitHub.

What’s in the box

The JS SDK has a few pieces to it:

  1. A Node.js CLI for managing your content definitions.
  2. A typescript client for fetching content from the CMS.
  3. A decoupled Vue.js sample site running on Node.js and CMS 12 (preview)

How to get started

The simplest way to get acquainted with the SDK is probably to clone the repository and setup the sample site. The sample site is based on CMS 12, and includes a preview of the new Content Definitions API which we are hoping to ship over the summer together with the final version of CMS 12. The current sample site uses OpenID Connect in the platform directly i.e., no need for an external identity provider to get things going.

Documentation

The SDK modules and samples each have a README in the project roots, which is a good starting point, but the documentation here on world for Content Definitions API is not complete or published yet, but thanks to the external reviews feature you can sneak a peek at the preliminary documentation here:

 

Aug 18, 2021

Comments

Jonas Boman
Jonas Boman Oct 21, 2021 07:49 AM

Hi. The links to API Fundamentals does not work.

Please login to comment.
Latest blogs
Integrating Searchspring with Optimizely – Part 1: Architecture & Setup

Integrating Searchspring with Optimizely – Part 1: Architecture & Setup

Wiselin Jaya Jos | Mar 20, 2026 |

CMS 13 Preview 4 — Upgrading from Preview 3

This is the third post in a series where I use the Alloy template as a reference to walk through each CMS 13 preview. The first post covered...

Robert Svallin | Mar 20, 2026

The move to CMS 13: Upgrade Notes for Technical Teams

A technical walkthrough of CMS 13 preview3 and headless work: what is changing, where the risks are, and how an upgrade and what to expect

Hristo Bakalov | Mar 20, 2026 |

A Synonyms Manager for Optimizely Graph

If you’re using Optimizely Graph for search, synonyms are one of the simplest ways to improve relevance without touching content. But they’re also...

Pär Wissmark | Mar 17, 2026 |