S
S
Sergey2019-02-20 12:04:21
webstorm
Sergey, 2019-02-20 12:04:21

How to customize React component navigation in WebStorm when import is specified with tilde?

The project (React, Webpack) uses links of the form WebStorm does not understand such a link with a tilde and does not go to the corresponding component file. You have to search by file name. Maybe someone has come across this?
import { Slider } from "~/common/ui/input/slider";

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ryazanov, 2019-02-20
@solargate

You need to specify the path to the Webpack configuration file in the Webstorm settings.
Preferences/Languages ​​& Frameworks/JavaScript/Webpack .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question