# Nice imports paths in reactjs with jsconfig.json

**Nice imports paths in reactjs with jsconfig.json**

There is not much here. just came across the **jsconfig.json** file and was promised that it will blow my mind( *actually, come to think of it, most things claim to blow minds in one way or the other*).

Oh ya, straight to the point, when you put the **jsconfig.json** file at the root of your project, (That’s beside the package.json file, *you knew, sorry about that*). Then you can use the absolute paths instead of the ‘../../components’.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1638603044717/pg0pPaGKj.png)

Project folder structure

contents of the jsconfig.json file

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1638603046547/0IVKQRtD1.png)

how to import files.

That’s it for this short and and and, well bye.
