Use with create-next-app
: npx create-next-app -e https://github.com/wwsalmon/next-tailwind-typescript-example
Compared to the default create-next-app
, this example:
- Has Typescript and TailwindCSS pre-configured
- Has default
index.js
,Home.module.css
,pages/api/
, andpublic/
stripped out - Has
_document.tsx
pre-configured - Adds
.env
to.gitignore