next-template
This is a glorified fork of steve-frenzel/thankyounext
. I found myself duplicating this template over-and-over adapting it to my needs, - no longer! This templates comes with many awesome features.
Features
Libraries
Components
components/Meta.tsx
An SEO-ready component to throw on your pages.pages/_document.tsx
A wrapper element for the<html>
layout of your site.pages/_error.tsx
A bespoke error page template for Next.JS.pages/404.tsx
A page-not-found error page template for Next.JS.
Configurations
.vscode/settings.json
for auto code-linting and pretty on file save.- Typescript
- ESLint Configuration
- Prettier Configuration
- Pre-commit Git Hook
- Absolute Imports
- React Strict Mode
- Security Headers
Core changes
These are the core differences between jakehwll/next-template
and stevefrenzel/thankyounext
.
- Incremented
next
from12.0
to12.2
for_middleware.tsx
and `` support. - Removed
tailwindcss
and replaced withstyled-components
. - Removed
preact
due to on-going common issues with libraries. - Addition of a
.vscode/settings.json