-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(www): Improve Gatsby guide #826
Conversation
@LekoArts is attempting to deploy a commit to the shadcn-pro Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
|
||
```bash | ||
npx gatsby new | ||
npm init gatsby |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use npm init
/ yarn create
normally for our Quick Start guides, see https://www.gatsbyjs.com/docs/quick-start/
@@ -52,13 +52,14 @@ Add the code below to the tsconfig.json file to resolve paths: | |||
} | |||
``` | |||
|
|||
### Create gatsby-node.js file | |||
### Create gatsby-node.ts file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use TS for gatsby-node
, see https://www.gatsbyjs.com/docs/how-to/custom-configuration/typescript/#gatsby-nodets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @LekoArts 🙏
Hi!
Gatsby maintainer here 👋 I stumbled upon the Gatsby guide and have some suggestions for improvements. Comments are inlined in the PR