0%

Next.js Editing the page

Next.js editing the page

Editing the index.js

We can find the index.js file from the pages folder.

We can try replacing the “Welcome to” to “Let’s play”

Then connect to the local website http://localhost:3000

1
2
C:\Blog\Next.js\nextjs-blog
λ npm run dev

We can see the server support Hot Reloading feature, the local website will automatically reload and update the page we just edit and save.

And the first page will automatic reloading.