Next.js + Typescript
Use Typescript with Next.js
This plugin implements ts-loader with Next.js.
Installation
yarn add ts-loader next-with-typescript
Usage
Create a next.config.js
in your project
// next.config.jsconst withTypescript = moduleexports =
Optionally you can add your custom Next.js configuration as parameter
// next.config.jsconst withTypescript = moduleexports =