I just cloned Angular 2 Webpack Starter and tried it in WebStorm 11.
This basically works, but WebStorm complains and emphasizes some module import names.
For example, the app.component.tscharacter {Home}in is import {Home} from './home';underlined in red.
When I find the underlined name of the module, it reads: Cannot resolve symbol 'Home'

If replaced './home'with './home/index', however, underlining will go away.
Do I need to add '/ index' to all module names, or is there a way to tell WebStorm not to worry?
source
share