How to use Purgecss with Tailwindcss in a VueJS Project
In a Vue project, or an existing project pull in a few dependencies:
tailwindcss
postcss
postcss-cli
Make sure your stylesheet is referenced in your .
Initialise your tailwind config file using:
npx tailwind init --full
Then in your , in the “scripts“ section, add:
“css:build“: “postcss path/to/your/ -o path/to/your/public/“
Then pull in postcss-purgecss:
npm install @fullhuman/postcss-purgecss
Now build the rc file for postcss to reference when it runs in the
1 view
834
254
1 month ago 00:05:17 1
The Ultimate Email Extractor in 2024: YellowPages Scraper 🌎
1 month ago 00:03:55 1
Pokemon GO Joystick, Teleport, Auto Walk - How to Get Pokemon GO Spoofer iOS & Android 2024 FREE
1 month ago 00:12:05 1
ZenBusiness Review 2024: What Makes It Stand Out?
1 month ago 00:04:14 1
Paramore: Decode [OFFICIAL VIDEO]
1 month ago 02:01:18 1
Half-Life 2: 20th Anniversary Documentary
1 month ago 00:36:24 3
Best of the Worst Trivia!
1 month ago 00:03:07 1
Delta Executor iOS iPhone Android NO KEY - Roblox Script Executor Mobile NEW UPDATE 2024
1 month ago 00:03:04 1
Bach, Organ Sonata No. 4 in E minor (BWV 528) 3. Un poco Allegro.
1 month ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
1 month ago 00:03:04 1
Arena Of Valor Hack - How to Get Unlimited Vouchers! iOS Android