Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/skang77e/bs4-container-gutenberg-block/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This project was bootstrapped with Create Guten Block.
This project provides Bootstrap 4 gutenberg block component.
npm install
- Install development package.
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.
Add as wordpress Plugin
1. Compress bs4-container-gutenberg-block folder except nodemodule folder.
2. From Your Wordpress Dashboard, upload a zipped file to Plugins / Add New.
3. Activate the plugin through the Plugins menu.
4. Go to edit page, you will see Bootstrap 4 Container Block category is added.
Version
Version: