WordPress blocks library.
composer require iis/blocks
iis-blocks
assumes that the website that runs it runs on iis-styleguide. The following js components needs to be enabled from the styleguide:
- Form
The package will be installed as a plugin so all you need to do is activate it. All blocks will be available in the editor under the category "Internetstiftelsen".
If you have Docker installed, you can utilize wp-env
.
npx wp-env start # To start the environment
npx wp-env stop # To stop the environment
A clean wordpress install will be available at http://localhost:8888
with the plugin activated and IIS default theme.