Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.77 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.77 KB

Understanding_Gutenberg_Plugin

Gutenberg is a fresh new take on editing content on the web. It works well at diferent screen sizes and provides end users with a better WYSIWYG editing experience. You now have the tools and understanding to take on this brave new world!

You can find an introduction video on the below link.

IMAGE ALT TEXT HERE


prequisets: need the latest node js 8 version.

The plugin need to be cloned to the plugin folder located at wp-content/plugins after cloning the repository you need to write npm install. npm start to watch and compile

You can find the Gutenberg block after activating the plugin named wpbeirut alert.


This project was bootstrapped with Create Guten Block.

Below you will find some information on how to run scripts.

You can find the most recent version of this guide here.

👉 npm start

  • Use to compile and run the block in development mode.
  • Watches for any changes and reports back any errors in your code.

👉 npm run build

  • Use to build production code for your block inside dist folder.
  • Runs once and reports back the gzip file sizes of the produced code.

👉 npm run eject

  • Use to eject your plugin out of create-guten-block.
  • Provides all the configurations so you can customize the project as you want.
  • It's a one-way street, eject and you have to maintain everything yourself.
  • You don't normally have to eject a project because by ejecting you lose the connection with create-guten-block and from there onwards you have to update and maintain all the dependencies on your own.