Gatsby
Installation guide for Gatsby.
Create project
Run the create next-app
command to create a new Next.js project.
Walk through the prompts and choose the options you want.
Update tsconfig.json
Add the baseUrl
and paths
properties to the compilerOptions
section of the tsconfig.json
file:
That's it!
You can now start adding components or hooks to your project.
The command will install the Button
component to your project. And you can import it in your code.