Get started on Next.js with TypeScript in seconds.
This is an example setup of Next.js building on top of the official TypeScript example. It adds the following:
- Simple styling structure with CSS Modules
- Basic ESLint and Prettier setup
- TypeScript typechecking as part of
testscript (ready to plug into any CI)
Deploy the example using Vercel:
Execute create-next-app with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/resir014/nextjs-typescript-quickstart nextjs-typescript-quickstart-app
# or
yarn create next-app --example https://github.com/resir014/nextjs-typescript-quickstart nextjs-typescript-quickstart-appDeploy it to the cloud with Vercel (Documentation).