NextJS
This content is not available in your language yet.
Next.js is an open-source React framework that provides a modern and performant foundation for developing web applications. It offers several advantages over traditional React development
Structure
app
layout.tsx
set your layout in this filenot-found.tsx
file you can ad your page on loading in this fileloading.tsx
you can use this file to set loading pagesitemap.ts
you can set site map for best seo in this filerobot.ts
set robot seo in this fileapi
you can use back-end api in this file
components
@types
you can create .d.ts
file and declare type in this file
utils
you can set your static value in this file and
Trick
Devtools
i18n
LICENCE BY DOSE FROM ANOTHER PLANET