Build Modes in NextJS
In the previous lesson, we installed the framework. Now we need to run our project.
Before doing that, however, let's discuss the available build modes. In NextJS, there are two modes: development mode and production mode.
When you are developing your project on your local computer, you need to run the project in development mode. In this mode, the framework will operate in a way that is convenient for the programmer.
When the project is ready, it will need to be deployed to a hosting service so that it is accessible via the internet. In this case, we will need to build it in production mode.
In the following lessons, we will discuss the features of these two build options.