This project is both a Proof of Concept and Boilerplate for blocks meant to be used with the GutenbergJS editor or Gutenberg for WordPress.
build folder is temporarily part of this repository in order this block be ready to be downloaded and included in the Gutenberg editor, without any compilation at client-side.
Install from npm:
npm install @frontkom/g-hero-section
Then load the block module and css on the editor:
import '@frontkom/g-hero-section'; import '@frontkom/g-hero-section/build/style.css';
To run the block in development mode: