This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
npm install firebase
npm install -D tailwindcss postcss autoprefixer && npx tailwindcss init -p
in the tailwind.config.js
file alter it to this:
module.exports = {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
Create the css file in your src/style directory then add :
@tailwind base;
@tailwind components;
@tailwind utilities; ```
import it in your Main.js
import './style/index.css'```