Prismic is a Content Management System, a tool for editing online content
Also known as a headless CMS, an API CMS, a content platform, a content-as-a-service digital experience... basically Prismic built a tool that lets you choose your technology, framework, and language and then easily manage your content.
Below is the default application config for the prismic module:
{
"prismic": {
"enabled": false,
"project": "",
"endpoints": {
"api": "cdn.prismic.io",
"web": "prismic.io"
},
"version": 2,
"routes": [],
"tokens": {
"contentApi": "",
"contentTypesApi": ""
},
"locales": []
}
}
The prismic client is available for manual usage:
const NextBootstrap = require('@dpdk/bootstrap');
const bootstrap = new NextBootstrap(__dirname, process.cwd(), nextConfig);
bootstrap.init();
bootstrap.prismic.getSingle("menu", {}).then((data) => {
console.log('data', data);
});
Last modified | Monday, August 2, 2021, 1:14:31 PM UTC |
Last author | Glenn de Haan |
Commit ID | 9b8382d |