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

Viewed 204

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

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.

Related