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.
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
.
yarn dev
: start development modeyarn lint
: check linting (Eslint + Prettier)yarn build
: make production bundle