Replies: 1 comment 1 reply
-
On the bottom right corner of VSCode, change |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
1.Create Project Folder
2.Set Up a Vite + Vue Project
npm create vite@latest . -- --template vue
3.Install Tailwind CSS and @tailwindcss/vite
npm install tailwindcss @tailwindcss/vite
4.Add @tailwindcss/vite Plugin to vite.config.ts
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [
tailwindcss(),
],
})
5.Import Tailwind CSS in src/style.css
@import "tailwindcss";
6.Install DaisyUI
npm i -D daisyui@latest
7.Add DaisyUI Configuration to src/style.css
@plugin "daisyui";
Beta Was this translation helpful? Give feedback.
All reactions