DPDK Architecture  ->  Bootstrap (v3.0.5)

Prismic Create
>= v2.12.9

This task will create a Prismic CMS Content Type with default fields.

Execution

This task can be executed by running the following command in your project:

node server.js prismicCreate

Content Type Info

After you run the command, the application will ask for the following information (This example shows the creation of the About Page content type that is repeatable):

Content Type Name (Basic Page): About Page
Is Content Type Repeatable (Y/n): y

Content Types API Token

Make sure you generate a Content Types API token in Prismic and add this to the config before running this task:

Prismic Example
{
  "prismic": {
    "enabled": true,
    "project": "example-project",
    "tokens": {
      "contentTypesApi": "xxxxxxx.xxxxxxxxxx"
    }
  }
}
Last modifiedFriday, April 29, 2022, 12:57:36 PM UTC
Last authorroelvoordendag
Commit IDb4569da