FolderStructure
FOLDERS
.next------->Generated when we either run or build scripts,from this folder nextjs application is served.
Public------->Contains static assets to be served such as svgs,images.Src----------->Working directory.
Files
1. next.config.js----> for NextJS
2.Package-lock.json---->Ensures consistent installation of dependencies.
3. gitignore------>Version control.
4.Package.json---->Contains project dependencies an scripts
"scripts": {
"dev": "next dev",------>To start app in develpoment mode
"build": "next build",--->Build app for production usage
"start": "next start",---->To start the app production server
"lint": "next lint" ,------>setup built in esling configuration.
}
Comments
Post a Comment