How to add Alias's / Paths in Typescript & Gatsby
![Oscar de la Hera Gomez](https://www.delasign.com/CDN/headshots/profile.webp)
![A flower that represents Typescript next to one that represents Gatsby. The word's alias's and paths sit below.](https://www.delasign.com/CDN/images/Hero_2022-06-29-155205_awqj.webp)
A step by step tutorial for adding alias's and paths to Typescript & Gatsby. Includes an open source Github starter project.
Step One: Create or Update your gatsby-node.js
![A screenshot on what a gatsby-node.js file looks like for a 'component' alias. Gist below.](https://www.delasign.com/CDN/images/Gatsby-Node-Alias.webp)
The sample below shows how to add the components alias/path on line 8.
Step Two: Update your tsconfig.json
![A screenshot of what the tsconfig.json looks like. Available in the gist below.](https://www.delasign.com/CDN/images/Tsconfig.webp)
The sample below shows how to add the components alias/path on line 16.
Any Questions
We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.