Webpack & Tailwind in WordPress Theme
Clone this repo on your wp-content/themes folder. Run this inside of the theme:
npm install
Edit the webpack.mix.js file with your local server name
npm run watch
Run this inside of the theme:
npm run prod
When done with coding remember not to upload "wp-content/themes/wordpack/node_modules" and "wp-content/themes/wordpack/resources" folders on your FTP