smbddha / nextjs-boilerplate-simple

Simple boilerplate for Next.js, with TypeScript, SASS/SCSS, Styled Components, Jest, ESLint, Prettier, and deployed with Vercel.

Home Page:https://simple-nextjs-boilerplate.onbrn.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Next.js Boilerplate

Simple boilerplate for Next.js, with TypeScript, SASS/SCSS, Styled Components, Jest, ESLint, Prettier, and deployed to Vercel.

Also supports imports with absolute paths.

Demo at simple-nextjs-boilerplate.onbrn.com.

See more boilerplates at nextjs-boilerplates.onbrn.com.

Development

make install  # installs dependencies
make start  # starts the app
make pretty  # prettifies the code
make test  # runs linting and tests
make test/update  # runs tests, updating snapshots

Deployment

Just push a branch for a preview deployment, merge to main to deploy production.

TODOs

Here are some things you will likely want to change before "publishing" this, or after cloning it:

  • theme-color in pages/_document.tsx
  • Name, repository, author, and version in package.json
  • Values in lib/constants.ts and styles/__variables.scss
  • Values in .env.sample
  • Title, description, and links in this README.md file

About

Simple boilerplate for Next.js, with TypeScript, SASS/SCSS, Styled Components, Jest, ESLint, Prettier, and deployed with Vercel.

https://simple-nextjs-boilerplate.onbrn.com


Languages

Language:TypeScript 62.1%Language:SCSS 22.8%Language:JavaScript 13.9%Language:Makefile 1.3%