angular - 如何在 Angular 模块中导出 @ptkdev/webcomponent-instagram-widget?
问题描述
我只是想在 Angular 模块中导出“@ptkdev/webcomponent-instagram-widget”,但我不知道如何。我已经尝试了一切。
你有想法吗?
该组件正在工作,但是当我编译项目时它显示错误,因为我正在使用另一个社交组件。
这是我的模块:
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 {}
提前致谢
解决方案
推荐阅读
- visual-studio - 从 Windows Visual Studio 构建的 Xamarin iOS 启动画面
- .net-core - 抛出 FunctionTimeoutException 后自动重新调度 TimerTrigger
- reactjs - 使用 react 和 react-router-dom对关键字“state”进行类型声明
- twilio - 无法在 Pycharm 上导入 Twilio 包
- javascript - 按类别过滤数据 JavaScript
- python - 在迁移文件中找不到表
- java - Android Studio WebView - 下载扩展名为 admin-ajax.php 的文件
- c# - 如何保留已编辑图像的 EXIF?
- python - 试图访问python中的嵌套字典键
- amazon-web-services - Amazon S3 存储桶索引?