@brandle/cta-block
v1.0.0
Published
A Call To Action block for Gutenberg Cloud
Downloads
14
Maintainers
Readme
Call To Action Block
This project was bootstrapped with Create Cloud Block.
This is a Call To Action Cloud Block for use in Gutenberg inside Drupal.
Below you will find some information on how to run scripts.
npm start
- Use to compile and run the block in development mode.
- Live reload is not supported currently.
npm run build
- Use to build production code for your block inside
build
folder.
npm run deploy
- Use to publish the block to NPM
- It will become available in Gutenberg Cloud in a few minutes
Please note that in order for npm start to work on windows I had to change the "start" script inside package.json. If you want to copy this project and run it yourself you will need to change that line.
Resources
- https://www.drupal.org/docs/8/modules/gutenberg/create-a-custom-block-for-gutenberg-cloud
- https://github.com/front/g-hero-section
- https://github.com/front/cloud-blocks/blob/master/docs/create-block.md