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
Copy to Clipboard
  • after that, it’s time to configure our project
Copy to Clipboard
  • after that look for tsconfig.json  file and add code shown in below in compiler options section
Copy to Clipboard
  • 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