We had a project where we used older version of the chat-widget. We used to generate a tgz file of chat-widget and use it as a custom plugin in our ionic project, we tried the same with the new build and we do get a chat-widget created in node_modules but we are unable to import it in our pages.
This is how we used it, but currently we are unable to import the ChatModule which is available in node_modules
import {ChatModule} from 'chat-widget' @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, ChatBotPageRoutingModule, ChatModule, HttpModule, RouterModule.forChild([]) ], declarations: [ChatBotPage] })
Hi,
We had a project where we used older version of the chat-widget. We used to generate a tgz file of chat-widget and use it as a custom plugin in our ionic project, we tried the same with the new build and we do get a chat-widget created in node_modules but we are unable to import it in our pages. This is how we used it, but currently we are unable to import the ChatModule which is available in node_modules
import {ChatModule} from 'chat-widget' @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, ChatBotPageRoutingModule, ChatModule, HttpModule, RouterModule.forChild([]) ], declarations: [ChatBotPage] })