How to Configure your Vue js app to use Tailwind CSS
A simple guide on how to make use of TailwindCSS inside your next Vue project

What is TailwindCSS?
Tailwind is a utility-first CSS framework for rapidly building custom user interfaces. Tailwind is different from frameworks like Bootstrap, Foundation, or Bulma in that it’s not a UI kit. It doesn’t have a default theme, and there are no built-in UI components. On the flip side, it also has no opinion about how your site should look and doesn’t impose design decisions that you have to fight to undo.
Basically, Tailwind gives you total control over how your websites and doesn't come bundled with “junk” you wouldn't be needing in your project.
Let's proceed to make use of Tailwindcss in our vue project.
Create a new Vue project
Open your terminal and type the following commands
vue init myProjectName if you are using Vue 2 CLI or vue create myProjectName for Vue 3
cd myProjectName to change into the project directory.
Install tailwind using npm
npm install tailwindcss --save-dev
or using yarn
yarn add tailwindcss --dev
Create a Tailwind.js configuration file
Type the following to create a tailwind.js configuration file
./node_modules/.bin/tailwind init tailwind.js
or
npx tailwind init tailwind.config.js --fullConfiguring PostCSS
Create a postcss.config.js file touch postcss.config.js
Then proceed to configure Postcss to process tailwind, Do that by adding the following code to your postcss.config.js file







