beeman / angular-elements-chat-widget

💬 Chat Widget built with Angular Elements
https://angular-elements-chat-widget.now.sh/
MIT License
129 stars 36 forks source link

Cannot import chatModule from node_modules #9

Open shivakumarnr opened 4 years ago

shivakumarnr commented 4 years ago

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] })