An example WordPress plugin for using Tailwind css in Gutenberg editor with webpack and sass
Name | Github Username |
---|---|
Imran Sayed | @imranhsayed |
Assets folder contains webpack setup and can be used for creating blocks or adding any other custom scripts like javascript for admin.
- Run
npm i
fromassets
folder to install required npm packages. - Use
npm run dev
during development for assets. - Use
npm run build
for production. - Use
npm run eslint:fix js/fileName.js
for fixing and linting eslint errors and warning.
These instructions will get you a copy of the project up and running on your local machine for development purposes.
- Clone the plugin directory in the
/wp-content/plugins/
directory, or install a zipped directory of this plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
I use Git for versioning.