Skip to content
/ next-template Public template

Next Template with Styled components, ESLint and Prettier. Using Github CI to deploy to Github pages.

Notifications You must be signed in to change notification settings

tomfa/next-template

Repository files navigation

NextJS Template

Build Linting

Tech Choice
Language TypeScript
CSS Tailwind
CI Github Actions
Linting ESLint + Prettier
Hosting Github Pages

Setup

yarn

For deployment

Replace PRODUCTION_DOMAIN_ROOT in next.config.js

The repository is set up to deploy on Github pages. If we want a custom domain, we must add && echo 'mydomain.com' >> out/CNAME in predeploy script.

Run

yarn dev

Code style

Prettier and eslint is used for this project. New code is automatically validated on commit using a pre commit hook.

Deploy

Script and github actions is set up to deploy to Github pages.

# manually deploy
yarn deploy

About

Next Template with Styled components, ESLint and Prettier. Using Github CI to deploy to Github pages.

Topics

Resources

Stars

Watchers

Forks