You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed ng2-split-pane (v1.3.1) to my Angular 4.1.0 app with npm and trying to build it with Angular-cli. I get 'ERROR in SplitPaneModule is not an NgModule'
I also tried v1.3.0 mentioned in one of other issues, but that giving me 'Cannot find module 'ng2-split-pane''
The text was updated successfully, but these errors were encountered:
We figured it out with a colleague of mine.
The module is not exported to the root so in order to make v1.3.1 to work it has to be imported like that: import { SplitPaneModule } from 'ng2-split-pane/lib/ng2-split-pane';
Also, the sample code is not working properly, primary-component-toggled-off has to go inside square brackets, like that: [primary-component-toggled-off]="false"
Otherwise primary component is not displayed.
lautarobock
added a commit
to lautarobock/ng2-split-pane
that referenced
this issue
May 12, 2017
I've installed ng2-split-pane (v1.3.1) to my Angular 4.1.0 app with npm and trying to build it with Angular-cli. I get 'ERROR in SplitPaneModule is not an NgModule'
I also tried v1.3.0 mentioned in one of other issues, but that giving me 'Cannot find module 'ng2-split-pane''
The text was updated successfully, but these errors were encountered: