lazurus
lazurus

Reputation: 41

When creating a next js and tailwind css app , -e or --example Initializes as a TypeScript project instead of Js

when creating a next js tailwind app I get a project with typescript files which is new, How To Stop this error from happening?

I'm using the commands to create a js project and i've done so many times, the commands i use to create a next.js app with tailwind css and with js not typescript.

or

Has anybody out there got any ideas to why i keep creating a typescript project? and how to return to creating js projects free of typescript in next.js?

Upvotes: 1

Views: 1965

Answers (2)

Yahya Unlu
Yahya Unlu

Reputation: 1

if you don't want to setup manually, you can use this.

git clone "below repository"

nextjs-react-tailwindcss

Upvotes: -1

Shamin Asfaq
Shamin Asfaq

Reputation: 35

I faced the same thing and had to go the other way around. Created a next project without the tailwind and later installed the tailwind. I followed this.

Upvotes: 1

Related Questions