How do you connect components in Vue to get rid of the long path component?

Beginning very annoying problem:
5bbc7d20d6ae0180555983.png
And so almost every file: just feel how many times do I have to go back and then step to the desired component. There are much longer chains of ../
It's the same in connecting the modules of the styles within the component Vue.

Is it possible to somehow set up a connection from project root?
March 12th 20 at 07:56
1 answer
March 12th 20 at 07:58
Solution
WebPack Alias. For Vue versions below 3, webpack.config.js above 2, respectively, in vue.config.js

Find more questions by tags Vue.js