Skip to content

Latest commit

 

History

History
 
 

step03_layout_components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

After completing step 02, do this:

Read this Tutorial

and this

Create Layout.tsx component in src/component directory, don't forget to define the type of props

Use the Header component in the index.tsx page

gatsby develop

You can now view the app in the browser. ⠀ http://localhost:8000/

Gatsby

Minimal starter for installing recipes

Note that this starter does not include any pages by default.

This starter is meant as a minimal reproduction of a Gatsby project in order to facilitate recipe installation.

🚀 Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying the minimal starter.

    # create a new Gatsby site using the minimal starter
    gatsby new my-site https://github.com/gatsbyjs/gatsby-starter-minimal
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-site/
    gatsby develop
  3. Open the code and start customizing!

    Your site is now running at http://localhost:8000!