0

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 🙏

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.