Skip to main content

Introduction

The "Blocks" module is designed to create structures that contain sets of attributes. The Headless CMS OneEntry provides users with very flexible tools, and you can use the "Blocks" module as you see fit for your specific case. The main concept of the "Blocks" module is to create reusable entities (blocks) that contain sets of attributes and additional content.

For example, you can create a block called "footer" and use it on all pages of your project.

const config = {
token:'your-app-token',
};

const { Blocks } = defineOneEntry('your-url', config);