Next.js · Junior · Question 30 of 75

What do the next build and next start commands do?

Explanation

next dev is the development server with fast refresh. next build compiles the app, prerenders static routes and prints a report. next start runs the production server on the build output. For a static site there's output: 'export'.

Further reading

Problem with a question

Next.js · Junior · question 30

Test yourself

Take the Next.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz