Reputation: 1
It seems to only be a problem when I add with-tailwindcss to the end of the command line? npx create-next-app -e with-tailwindcss project_name
Upvotes: 0
Views: 951
Reputation: 1443
The with-tailwindcss
template you are using is setup with typescript.
You can find the source here on GitHub,
Upvotes: 0
Reputation: 1712
Proper way to install Next.js with Tailwind CSS would be:
npx create-next-app project_name
cd project_name
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
More here: https://tailwindcss.com/docs/guides/nextjs
Upvotes: 1