Our code can be made more understandable and clearer by using path aliases to create import path shortcuts. Regardless of the size of the project, they allow you to obtain concise imports.
The configuration above tells the TypeScript compiler to interpret imports with "@components/" to correspond to the "src/comoponents/" directory.
[
add
]
[
|
|
...
]