WebDevStudios library of Gutenberg blocks.
- Accordion
- Carousel
- Download WDS Blocks
- Extract
wds-blocks-main.zipinto your project's/pluginsdirectory - Activate the plugin in the WordPress Dashboard
If you're interested in using WDS Blocks to get started building your own blocks, follow the instructions below:
Clone the repo with Git:
git clone [email protected]:WebDevStudios/wds-blocks.gitInstall dependencies:
npm i --legacy-peer-depscomposer installWDS Blocks using @wordpress/scripts to handle compiling assets and watching for changes.
See the Official Gutenberg Developer Documentation for extensive tutorials, documentation, and API references.
Use the following commands to get started:
Watch for changes:
npm startBuild a production version of WDS Blocks:
npm run buildLint the codebase:
npm run lintFormat the codebase with Prettier:
npm run formatThe optional webpack.config.js file includes the @wordpress/scripts defaults, along with an entry path for /src/frontend.js. The frontend entry path is conditionally included and is not a requirement. It can be safely deleted.
Your contributions and support tickets are welcome. Please see our guidelines before submitting a pull request.
