/nextjs-typescript-quickstart

Get started on Next.js with TypeScript in seconds.

Primary LanguageTypeScriptThe UnlicenseUnlicense

nextjs-typescript-quickstart

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:

  • Support for TS' baseUrl with babel-plugin-module-resolver
  • Simple styling structure with styled-jsx
  • Basic TSLint and Prettier setup
  • TypeScript typechecking as part of test script (ready to plug into any CI)

How to use

Using now

Click the button below to deploy instantly with now.

Deploy to now

Download manually

Download the example and then unzip it.

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev