A WordPress block plugin starter with SWC and TailwindCSS
  • JavaScript 87.1%
  • CSS 11.7%
  • PHP 1.2%
Find a file
2022-10-16 11:46:20 -04:00
build bug - Styles not loading 2022-10-16 11:46:20 -04:00
src bug - Styles not loading 2022-10-16 11:46:20 -04:00
.babelrc updated readme 2022-10-16 11:15:37 -04:00
.editorconfig initial commit 2022-10-14 06:02:45 -04:00
.gitignore initial commit 2022-10-14 06:02:45 -04:00
.swcrc updated readme 2022-10-16 11:15:37 -04:00
LICENSE add license 2022-10-16 11:17:16 -04:00
package-lock.json updated readme 2022-10-16 11:15:37 -04:00
package.json bug - Styles not loading 2022-10-16 11:46:20 -04:00
postcss.config.js bug - Styles not loading 2022-10-16 11:46:20 -04:00
pricing-calculator.php add browsersync 2022-10-15 20:16:34 -04:00
README.md updated readme 2022-10-16 11:15:37 -04:00
README.txt updated readme 2022-10-16 11:15:37 -04:00
tailwind.config.js add browsersync 2022-10-15 20:16:34 -04:00
webpack.config.js updated readme 2022-10-16 11:15:37 -04:00
yarn.lock bug - Styles not loading 2022-10-16 11:46:20 -04:00

WordPress Block Plugin Starter Kit

This is a starter kit for creating a WordPress block plugin. It is based on @wordpress/create-block and includes the following features:

  • ESNext JavaScript
  • JSX syntax
  • TailwindCSS for styles
  • Webpack build process
  • SWC for faster builds
  • ESLint for code linting
  • Prettier for code formatting

Prerequisites

Getting Started

  1. Clone this repository
  2. Update the proxy.URL.target in webpack.config.js to match your local WordPress installation
  3. Run yarn
  4. Run yarn dev to start the build process and watch for changes