Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trevorblades/minimal-gatsby-example
- Owner: trevorblades
- Created: 2020-04-25T04:11:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-10T00:35:55.000Z (over 1 year ago)
- Last Synced: 2024-07-21T13:33:23.278Z (2 months ago)
- Topics: example, gatsby, minimal
- Language: JavaScript
- Homepage:
- Size: 324 KB
- Stars: 1
- Watchers: 2
- 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
```