What is NextJS

NextJs is React Framework for production, easy to use, packed with a lot of good features, least boiler plate code, great for development and maintenance.

to Install

npx create-next-app your_app --use-npm

or if you use yarn

yarn create next-app

install node dependencies your your_app

yarn

run in dev mode to debug and develop

yarn dev

build production manifest

yarn build

start production manifest

yarn start

if you want to use pm2 for nextjs, please checkout https://blog.productdeploy.com/what-is-pm2/

more information on nextjs https://nextjs.org/

Share This

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
*