(stackoverflow)[https://stackoverflow.com/questions/20136714/how-can-i-fix-webstorm-warning-unresolved-function-or-method-for-require-fi]
enable Node.js Globals predefined library in Settings/Languages & Frameworks/JavaScript/Libraries
开启IDE的相关配置!

本文介绍了解决WebStorm中出现的'unresolved function or method for require'警告的方法,通过启用Node.js全局预定义库来修复该问题。
(stackoverflow)[https://stackoverflow.com/questions/20136714/how-can-i-fix-webstorm-warning-unresolved-function-or-method-for-require-fi]
enable Node.js Globals predefined library in Settings/Languages & Frameworks/JavaScript/Libraries
开启IDE的相关配置!

373

被折叠的 条评论
为什么被折叠?