Create a Page
Inside the
pages
directory, start by editing the homepage for Needful Things, calledindex.md
.Replace the text currently in the file with the text below, to add a header and introduction.
pages/index.md
Save the page, and enter
npm run dev
in the shell.Delete all the other files inside the
pages
directory (we won't need these).Navigate to http://localhost:3000/ in your browser. (The links on the homepage won't work yet as we haven't built them!)
Evidence 'hot reloads' when you save your file by default, so you should get immediate feedback.
You should now be able to see your new page, which looks like this: