Skip to content

WebDevStudios/wds-blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WDS Blocks

A library of Gutenberg blocks.

WebDevStudios. Your Success is Our Mission.


Available Blocks

  • Accordion
  • Carousel

Quick Start ⏩

  1. Download a pre-built copy on the Releases page.
  2. Extract WDS Blocks into your project's /plugins directory
  3. Activate the plugin in the WordPress Dashboard

Development πŸš€

If you're interested in using WDS Blocks to get started building your own blocks, follow the instructions below:

Requirements πŸ“

Install

Clone the repo with Git:

git clone [email protected]:WebDevStudios/wds-blocks.git

Install dependencies:

npm i --legacy-peer-deps
composer install

πŸ’» Scripts

Watch for changes:

npm run start

Build a production version:

npm run build

Other handy commands

Lint everything:

npm run lint

Lint JS:

npm run lint:js

Lint SCSS/CSS:

npm run lint:css

Lint PHP:

npm run lint:php

Webpack Config (optional)

The 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.


Contributing and Support

Your contributions and support tickets are welcome. Please see our guidelines before submitting a pull request.