2023-03-06
1552
#css#react#vue
Anjolaoluwa Adebayo-Oyetoro
26517
Mar 6, 2023 â‹… 5 min read

How to use Tailwind CSS in React and Vue.js

Anjolaoluwa Adebayo-Oyetoro Maker. Writes sometimes. Playful most times. Loves beautiful UIs.

Recent posts:

A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 â‹… 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 â‹… 7 min read
typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 â‹… 5 min read
master state management hydration Nuxt usestate

Nuxt state management and hydration with useState

useState can effectively replace ref in many scenarios and prevent Nuxt hydration mismatches that can lead to unexpected behavior and errors.

Yan Sun
Jan 20, 2025 â‹… 8 min read
View all posts

4 Replies to "How to use Tailwind CSS in React and Vue.js"

  1. “scripts”: {
    “style”: “tailwindcss build src/assets/styles/index.css -o src/assets/styles/tailwind.css”,
    // other scripts
    }

    isnt the index.css and tailwind.css need to be swapped in your package.json script?

Leave a Reply