Simple Gutenberg Boilerplate for plugin development
What is included in this boilerplate ?
- Write JS in ReactJS & ESNext and don't forget WebPack code splitting feature.
- You can use sass preprocessor, WebPack will transpile sass to css file.
- Generate separate stylesheet for front-end & editor.
- Ease development using development and production build option.
ESLINT
coding standard configuration.
How to use ?
- Clone this repo in wp-content/plugins directory.
git clone https://github.com/rtCamp/gutenberg-plugin-boilerplate.git rt-blocks
- Run
npm install
to install plugin dependencies. - For development build use
npm run dev
command. - For production build use
npm run build
command.
Requirements
- You should have the latest release of npm installed.
- You should be running a Node version matching the current active LTS release or newer for this plugin to work correctly.