Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there a way to configure both tailwind and typescript in nextjs while initializing?

npx create-next-app -e with-tailwindcss my-project

this only seems to congifure tailwind

npx create-next-app -ts

this only configure typescript

npx create-next-app -e with-tailwindcss my-project -ts

this dosent seem to work

like image 770
Salil Rajkarnikar Avatar asked Jul 08 '21 10:07

Salil Rajkarnikar


1 Answers

I am afraid there is no such template right now for both of this things. I suggest you to init both templates then manually copy needed files (tailwind.config, postcss.config and etc.) from tailwind folder to typescript folder.

like image 83
Danila Avatar answered Oct 12 '22 21:10

Danila