Getting started
Quick start
Install the packages:
Create the Editor page:
Get access token
Easyblocks configuration object requires a backend
property. Backend is responsible for handling documents and templates saving, updating, versioning etc. The easiest way to start is to use our simple and free cloud service. Just go to https://app.easyblocks.io, create the account, go to the "Playground project", copy your access token:
Place your token in a constructor of EasyblocksBackend
class and you're ready to go.
We're not forcing you to use our cloud. Easyblocks is open-source and you can easily create your own backend later to control where and how your data is stored. You can learn more about this in Backend guide.
Open the editor
Now you can visit the editor page: https//localhost:3000/easyblocks-editor?rootComponent=DummyBanner
Congratulations!
Real-world example
The example above is very rudimentary. In order to see Easyblocks at a full power you should have at least a few No-Code Components, custom types, etc.
We highly recommend cloning our Page Builder Example to play around with a real-world configuration.
You can use EasyblocksBackend
with your access token in each of those examples easily.
Last updated