Topic: Angular 4.3 Update Accordion sb-item
mog5808
pro
asked 8 years ago
MDBootstrap Angular 4.3.1and copied the
profolder in the place of the older one after trying
ng servei got the following error
ERROR in D:/***/src/app/angular-bootstrap-md/pro/accordion/components/sb-item.head.d.ts (1,10): Module '"D:/****/src/app/angular-bootstrap-md/pro/accordion/components/sb-item"' has no exported member 'SBItemComponent'.I am not sure what can the problem be. Any ideas? Also is there a way to
npm i angular-bootstrap-md -save
PRO?
Edyta Dabrowska
free
answered 8 years ago
Edyta Dabrowska
free
answered 8 years ago
mog5808
pro
answered 8 years ago
Still not working, Do you see a problem with the following code? Maybe there is an issue there that i can not see
import {NgModule, NO_ERRORS_SCHEMA} from '@angular/core';
import {MDBBootstrapModule} from './angular-bootstrap-md/free';
import {MDBBootstrapModulePro} from './angular-bootstrap-md/pro';
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpModule,
BrowserAnimationsModule,
AppRoutingModule,
MDBBootstrapModule.forRoot(),
MDBBootstrapModulePro.forRoot(),
StoreModule.provideStore({
commonReducer
}),
],
Edyta Dabrowska
free
answered 8 years ago
mog5808
pro
answered 8 years ago
Edyta Dabrowska
free
answered 8 years ago
mog5808
pro
answered 8 years ago
- Copied the package.json to my current project and npm install
- updated typescript version
- reinstalled angular-cli globally
mog5808 pro commented 8 years ago
Also guys, if you can add a document on how to add mdbootstrap ng 4 to a current mdboostrap ng 2 app that will be great!!FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No