我正在尝试将spreadjs库添加到我的 Angular 5 应用程序中。我正在关注此链接中给出的教程。 https://www.grapecity.com/en/blogs/spread-sheets-and-angular 但是教程和我的应用程序之间存在一个区别。我的应用程序正在使用 webpack。
当我尝试运行应用程序时,出现以下错误
未捕获的 ReferenceError:GC 未在 Object 中定义。(gc.spread.sheets.angular.11.0.4.js:106) 在webpack_require (bootstrap 05add16ed08b4def07f8:657) 在 fn (bootstrap 05add16ed08b4def07f8:85) 在 Object. (app.module.browser.ts:21) 在webpack_require (bootstrap 05add16ed08b4def07f8:657) 在 fn (bootstrap 05add16ed08b4def07f8:85) 在 Object. (index.js:4) 在webpack_require (bootstrap 05add16ed08b4def07f8:657) 在 fn (bootstrap 05add16ed08b4def07f8:85) 在 Object.options.path (html5-entities.js:190) (匿名) @ gc.spread.sheets.angular。 11.0.4.js:106 webpack_require@ bootstrap 05add16ed08b4def07f8:657 fn @ bootstrap 05add16ed08b4def07f8:85 (anonymous) @ app.module.browser.ts:21 webpack_require @ bootstrap 05add16ed08b4def07f8:657 fn @ bootstrap 05add16ed08b4def07f8:85 (anonymous) @ index.js:4 webpack_require @ bootstrap 05add16ed08b4def07f8: 657 fn @ bootstrap 05add16ed08b4def07f8:85 options.path @ html5-entities.js:190 webpack_require @ bootstrap 05add16ed08b4def07f8:657 fn @ bootstrap 05add16ed08b4def07f8:85 decorate @ main-client.js?v=m6MAq5LYDxHuj3aQ3FLsDASzSdE0PXrpCFP8K7zsieI:4472 __webpack_require @ bootstrap 05add16ed08b4def07f8:657 module .exports @ bootstrap 05add16ed08b4def07f8:706(匿名)@ bootstrap 05add16ed08b4def07f8:706
我尝试将 javascript 链接添加到webpack.config.vendor.js。我的后端是.net core webapi。请告诉我下一步该怎么做