location ^~ /static/ {
alias D:/PhpstormProjects/GitHub/xxx/node_modules/;
index index.php index.html index.htm;
}
问题场景:
在nginx中如上配置,但是很显然,这个static是不存在的,但是代码中的语法提示对应目录不存在,无法解析。
无法解析 目录 'static'
请问如何让IDE知道这个对应关系的?
location ^~ /static/ {
alias D:/PhpstormProjects/GitHub/xxx/node_modules/;
index index.php index.html index.htm;
}
问题场景:
在nginx中如上配置,但是很显然,这个static是不存在的,但是代码中的语法提示对应目录不存在,无法解析。
无法解析 目录 'static'
请问如何让IDE知道这个对应关系的?
1 回答4.1k 阅读✓ 已解决
3 回答1.9k 阅读✓ 已解决
2 回答2.3k 阅读✓ 已解决
2 回答2.4k 阅读✓ 已解决
1 回答1.8k 阅读✓ 已解决
2 回答788 阅读✓ 已解决
1 回答1.4k 阅读✓ 已解决