Webstorm: “Cannot Resolve Directory”

后端 未结 4 1085
鱼传尺愫
鱼传尺愫 2020-12-02 10:12

This is starting to bug me and I\'d either like it turned off or fixed. So Webstorm has a sweet feature in it\'s HTML parser that will attempt to resolve directories in stri

4条回答
  •  庸人自扰
    2020-12-02 10:40

    I had this problem on Mac and solved it by changing the directories properties.

    1. Open Preferences:

    Webstorm > Preferences

    1. Go to Directories section in the Preferences

    Project > Directories

    1. Add content root and Resource roots

    Screenshot after adding the resources root

提交回复
热议问题