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
withbabel-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)
Click the button below to deploy instantly with now.
Download the example and then unzip it.
Install it and run:
npm install
npm run dev
# or
yarn
yarn dev