Create new pages like an About page in the /pages
directory.
The minimum code is:
import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
const PageName = () => (
<Layout>
<SEO title="PageName" keywords={[`gatsby`, `application`, `react`]} />
//CONTENT HERE
</Layout>
)
export default PageName
-
Start developing.
Navigate into the directory and start it up.
cd nickmonaco-me/ gatsby develop
-
Open the source code and start editing!
The site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.