Skip to content

Instantly share code, notes, and snippets.

View ILoveBacteria's full-sized avatar

Moein Arabi ILoveBacteria

View GitHub Profile
bradtraversy /
Last active July 19, 2024 22:09
Setup Webpack with Tailwind CSS

Webpack & Tailwind CSS Setup

Create your package.json

npm init -y

Create your src folder

Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">