ng2-table
ng2-table copied to clipboard
PAGINATION_DIRECTIVES doesn't work on demo.
Hi, just copied the demo ts & html into my project. When i tried to launch the app with the command 'npm start'. i got below error message: '(20,9): error TS2305: Module '"c:/Users/ngtable/node_modules/ng2-bootstrap/ng2-bootstrap"' has no exported member 'PAGINATION_DIRECTIVES'. '
i already installed the ng-bootstrap 1.1.0.
Is there anything i missed?
Thank you in advance.
https://github.com/valor-software/ng2-table/pull/268 ng2-tables will be update soon to work with new ng2-bootstrap version
Thank you otelnov. Just want to double confirm that your fixing have fixed the issue i met, right?
Yes. I installed "ng2-bootstrap": "1.1.0" too and using angular 2.0.0-rc5. Doesn't work too
Do you need to execute
npm i ng2-bootstrap --save
after this include in your module:
import {PaginationComponent, PaginationConfig} from 'ng2-bootstrap/ng2-bootstrap';
And incluede in your app.module
import {PaginationComponent, PaginationConfig} from 'ng2-bootstrap/ng2-bootstrap'; imports: [ PaginationComponent ], providers: [ PaginationConfig ]