Skip to content

A simple WordPress Plugin to create a simple custom Gutenberg Block.

Notifications You must be signed in to change notification settings

teamkomuhn/wordpress-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 WordPress Blocks.

A simple WordPress Plugin to create a simple Gutenberg Block.


📖 Tutorials I watched

  1. https://youtu.be/Mv68Sa-iHyo.
  2. https://youtube.com/playlist?list=PLriKzYyLb28lHhftzU7Z_DJ32mvLy4KKH.

🐈‍⬛ GitHub Repositories of the tutorials

  1. https://github.com/LearnWebCode/simple-block-boilerplate
  2. https://github.com/Alecaddd/gutenberg-tutorial

⚠️ Note: The main Branch of the Repositories only contains the template files! See the other Branches for the right code.


🧑‍💻 Setup

  • ⏬ Install Node.js

  • In the terminal cd into the plugin directory.

  • Install the necessary npm packages with npm install or npm i

  • Finally run the compiler with npm start, to end it press Ctrl + C.

  • You could also use Babel, I am not using it because I had trouble setting it up.