Some best practices for Next.js
-
pages router
-
app router
-
Theme switch support
-
Install the
next-themes
package to add attributes to the HTML tag -
Configure the
tailwind.config
file -
International support
-
next-intl
package -
Form validation
-
react-hook-form
package -
zod
package -
Client-side HTML standard validation
Start a new project with the following command:
npx create-best-next
npm create best-next@latest
pnpm create best-next
yarn create best-next