Let’s save some time in the long term by configuring our project so that we can import things without writing
Before
After
- The first step is to install babel-plugin-module-resolver
- after that, it’s time to configure our project
- after that look for tsconfig.json file and add code shown in below in compiler options section
- after that look for the tsconfig.json file and add code shown below in compiler options section
And Now you are done , Just restart your build and you are good to go