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: 3 months ago
JSON representation
The most minimal Gatsby example imaginable
- Host: GitHub
- URL: https://github.com/trevorblades/minimal-gatsby-example
- Owner: trevorblades
- Created: 2020-04-25T04:11:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-10T00:35:55.000Z (about 3 years ago)
- Last Synced: 2025-09-11T14:31:00.589Z (10 months ago)
- Topics: example, gatsby, minimal
- Language: JavaScript
- Homepage:
- Size: 324 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```