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