Answers for "how to add tailwind in angular"

CSS
1

add tailwindcss to angular

npm install postcss@latest autoprefixer@latest
Posted by: Guest on October-05-2021
1

add tailwindcss to angular

npm install -D tailwindcss
Posted by: Guest on October-05-2021
1

add tailwindcss to angular

npx tailwindcss init
Posted by: Guest on October-05-2021
0

install tailwind in angular

Step 1 : ng add @ngneat/tailwind

Step 2 : mode --> select class

Step 3 : Tailwind directives & functions in component styles --> Yes

Step 4 : TailwindCSS plugins you want to enable : --> select forms and typography or all of them.
Posted by: Guest on April-22-2021

Browse Popular Code Answers by Language