---
title: "Discussion on \"How to set up path Alias in react.\" | Hashnode"
description: "Discussion on \"How to set up path Alias in react.\". I'm not sure if this is the right title for this, but it took me a while to find a solution for this, So I'm keeping this here.\n\nNote: I'm assuming you are using react with vite.\n\nAdd this to the tsconfig.json file under the compilerOptions object.\n\"..."
url: "https://hashnode.com/posts/how-to-set-up-path-alias-in-react/65175e16ed353ab1993d43ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to set up path Alias in react.](https://tylerjusfly.hashnode.dev/how-to-set-up-path-alias-in-react?utm_source=hashnode&utm_medium=feed)

I'm not sure if this is the right title for this, but it took me a while to find a solution for this, So I'm keeping this here. Note: I'm assuming you are using react with vite. Add this to the tsconfig.json file under the compilerOptions object. "...

Sep 29, 2023 · 1 min read · tylerjusfly.hashnode.dev  
Read the article

## Written by

[Momoh Tyler](https://hashnode.com/@TylerJusFly)

@TylerJusFly · Lagos, Nigeria

  
[View profile](https://hashnode.com/@TylerJusFly)

Backend Engineer | NodeJs | MongoDb | Docker

I'm a Back-developer at Tiidelab. Focusing More On Growth 🥂And mostly an Associate of the God kind 🍷

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
