Skip to content

Instantly share code, notes, and snippets.

View mkgp-dev's full-sized avatar
🛠️
it's time for The Odin Project

Mark Pelayo mkgp-dev

🛠️
it's time for The Odin Project
View GitHub Profile
@bradtraversy
bradtraversy / tailwind-webpack-setup.md
Last active October 28, 2025 02:53
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.