From the course: Master Next.js: Elaborate Hands-On Web Development, React Basics, Advanced Next.js, and Deployment

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Migrating from React to Next.js

Migrating from React to Next.js

All the hard work we've done in every section is leading up to this very moment. I don't know if you ever watched Dragon Balls, but it's like that. We're going super saiyan, just full force. Let's do it. I'm pumped. I'm stoked. I hope you are too. Let's get started with Next.js. Now, we're going to do this professionally. Up to this point, we've had everything in this one index.html script file and we've been loading and react with these scripts ourselves manually so that we do things hands-on. To add Next.js, we don't need to load React and React DOM scripts from unpackage.com anymore. Instead, we're going to install these packages locally using the Node Package Manager, aka NPM. So make sure you add Node.js. If you don't know what that is, go back to our noobs sections for developers where I think we cover Node.js. but to make sure you got node go to your terminal and in your terminal run node version and you should see you got a version all right so from the terminal we want to…

Contents