I am using the newest Webstorm 2016.1 and angular 2.
Somehow, it no longer imports libraries from node modules (e.g. RouteConfig or OnInit)
any suggestions?
Thank!
Go to Settings -> Language and Frame -> Javascript and add a new library typed by node-modules that points to your node-modules module.
Idea tsconfig.json(src/tsconfig.json). , tsconfig.json , IDE. src/tsconfig.json src/tsconfig.json_disabled tsconfig.json . Idea src, tsconfig.json. , .
, , , tsconfig.json. , , tsconfig.json .
, , , .
.idea
node_modules
npm install