Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trevorblades/minimal-gatsby-example

The most minimal Gatsby example imaginable
https://github.com/trevorblades/minimal-gatsby-example

example gatsby minimal

Last synced: about 2 months ago
JSON representation

The most minimal Gatsby example imaginable

Awesome Lists containing this project

README

        

# A minimal Gatsby example

```bash
mkdir -p my-project/src/pages
cd my-project
npm init -y
npm install gatsby react react-dom
vi src/pages/index.js
```

Just write a React component:

```jsx
import React from 'react';
export default () =>

Hello world
;
```

```bash
npx gatsby develop
```