mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-11 04:22:13 +00:00
54 lines
2.0 KiB
Markdown
54 lines
2.0 KiB
Markdown
# Gatsby
|
||
|
||
This directory is a brief example of a [Gatsby](https://www.gatsbyjs.org/) app that can be deployed to Vercel with zero configuration.
|
||
|
||
> **Note:** SSR, DSG, and API Routes [are now supported](https://vercel.com/changelog/improved-support-for-gatsby-sites). We do not currently support some Gatsby v5 features, including Partial Hydration and the Slice API.
|
||
|
||
## Deploy Your Own
|
||
|
||
Deploy your own Gatsby project, along with Serverless Functions, with Vercel.
|
||
|
||
[](https://vercel.com/new/clone?repository-url=https://github.com/vercel/vercel/tree/main/examples/gatsby&template=gatsby)
|
||
|
||
_Live Example: https://gatsby.vercel.app_
|
||
|
||
## Quickstart
|
||
|
||
1. **Create a Gatsby site.**
|
||
|
||
Use the Gatsby CLI to create a new site, specifying the minimal starter.
|
||
|
||
```shell
|
||
# create a new Gatsby site using the minimal starter
|
||
npm init gatsby
|
||
```
|
||
|
||
2. **Start developing.**
|
||
|
||
Navigate into your new site’s directory and start it up.
|
||
|
||
```shell
|
||
cd my-gatsby-site/
|
||
npm run develop
|
||
```
|
||
|
||
3. **Open the code and start customizing!**
|
||
|
||
Your site is now running at http://localhost:8000!
|
||
|
||
Edit `src/pages/index.js` to see your site update in real-time!
|
||
|
||
4. **Learn more**
|
||
|
||
- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
|
||
|
||
- [Tutorials](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
|
||
|
||
- [Guides](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
|
||
|
||
- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
|
||
|
||
- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
|
||
|
||
- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
|