【问题标题】:Using @progress kendo angular CDN bundles from a webpack client with externals使用来自 webpack 客户端的 @progress kendo 角度 CDN 包和外部组件
【发布时间】:2018-05-26 01:33:05
【问题描述】:

我们有一个使用 webpack 构建的客户端应用程序,我们希望使用 @progress Kendo Angular UI cdn 文件。使用 CDN 的原因是我们有 50 多个应用程序作为一个大型应用程序运行,并且我们将 CDN 与 webpack 外部用于供应商的东西。

以下是此类文件的示例:

https://www.telerik.com/kendo-angular-ui/npm/node_modules/@progress/kendo-angular-buttons/dist/cdn/js/kendo-angular-buttons.js

但是当包含任何捆绑包时,我们会收到以下错误:

kendo-angular-buttons.js:1 Uncaught TypeError: Cannot read property '__decorate' of undefined

我们如何包含这些文件?有这种机制的例子吗?大多数示例使用 systemjs。

【问题讨论】:

    标签: kendo-ui kendo-ui-angular2


    【解决方案1】:

    我自己在 Github 上通过 issue 给出解决方案: https://github.com/telerik/kendo-angular/issues/1148

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-25
      • 2018-09-24
      • 1970-01-01
      • 1970-01-01
      • 2020-04-26
      • 2023-03-23
      • 2015-12-07
      • 1970-01-01
      相关资源
      最近更新 更多