Skip to content
A minimalistic boilerplate for running Next.js app in Typescript
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src init Jun 22, 2017
static init Jun 22, 2017
.gitignore Fix #1 Jun 23, 2017
README.md Update README.md Sep 4, 2018
gulpfile.js Close #3 Jul 29, 2017
package.json Update next.js Jan 14, 2018
tsconfig.json Fix #1 Jun 23, 2017
tslint.json init Jun 22, 2017
yarn.lock Update next.js Jan 14, 2018

README.md

Next.js + Typescript Boilerplate

A boilerplate using Next.js and Typescript. There is also 'with-typescript' example in Next.js repository. But that's crap, because that examples make compiled files and source files be same place.

Quick Start

git clone --depth=1 https://github.com/pueue/nextjs-typescript-boilerplate.git
cd nextjs-typescript-boilerplate && npm install
npm run dev

Install & Running

  1. git clone https://github.com/pueue/nextjs-typescript-boilerplate.git
  2. cd nextjs-typescript-boilerplate
  3. npm install
  4. npm run dev
  5. For production, run npm run build and npm start

Folder Structure

.
├── src/
│   ├── components/
│   ├── pages/
│   └── types/
├── static/
├── tsconfig.json
├── tslint.json
└── yarn.lock
You can’t perform that action at this time.