How export @ptkdev/webcomponent-instagram-widget in Angular module?

116 Views Asked by At

I'm just trying to export '@ptkdev/webcomponent-instagram-widget' in Angular module, but I don't know how. I have tried everything.

Do you have an idea?

The component is working, but when I compile the project It shows an error because I'm using social component from another one.

This is my module:

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgxTwitterTimelineModule } from 'ngx-twitter-timeline';
import '@ptkdev/webcomponent-instagram-widget';
import { SocialComponent } from './social.component';
import { TranslateModule } from '@ngx-translate/core';
import { NbCardModule } from '@nebular/theme';

@NgModule({
   declarations: [SocialComponent],
   imports: [
   CommonModule,
   NgxTwitterTimelineModule,
   NbCardModule,
   TranslateModule,
],
   exports: [SocialComponent],
})
export class SocialModule {}

Thanks in advance

0

There are 0 best solutions below