Skip to content

antoinerousseau/next-starter-antoine

Repository files navigation

next-starter-antoine

My opinionated Next.js SSG starter template.

It starts from the default Next.js template, and adds:

See also Next.js > examples > with-typescript-styled-components

It is made for static-only (SSG), not SSR.

Requirements

Usage

npx create-next-app [name] -e https://github.com/antoinerousseau/next-starter-antoine
cd [name]
cp {example,}.env

And configure your site infos in package.json, pages/_app.tsx and public/site.webmanifest.

Commands

  • yarn dev: start development mode
  • yarn lint: check linting (Eslint + Prettier)
  • yarn build: make production bundle