This task will initialize a Prismic CMS with default Content Types and fields.
Warning! This task will only run on an empty Prismic instance
This task can be executed by running the following command in your project:
node server.js prismicInit
Make sure you generate a Content Types API token in Prismic and add this to the config before running this task:
{
"prismic": {
"enabled": true,
"project": "example-project",
"tokens": {
"contentTypesApi": "xxxxxxx.xxxxxxxxxx"
}
}
}
Last modified | Friday, April 29, 2022, 12:57:36 PM UTC |
Last author | roelvoordendag |
Commit ID | b4569da |