A WordPress block plugin starter with SWC and TailwindCSS
- JavaScript 87.1%
- CSS 11.7%
- PHP 1.2%
| build | ||
| src | ||
| .babelrc | ||
| .editorconfig | ||
| .gitignore | ||
| .swcrc | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| pricing-calculator.php | ||
| README.md | ||
| README.txt | ||
| tailwind.config.js | ||
| webpack.config.js | ||
| yarn.lock | ||
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
- Clone this repository
- Update the proxy.URL.target in
webpack.config.jsto match your local WordPress installation - Run
yarn - Run
yarn devto start the build process and watch for changes