错误:"vue-class-component in ./node_modules/@syncfusion/ej2-vue-calendars/src/calendar/calendar.compon



今天我开始尝试syncfusion,但没有走得很远。我尝试使用"@syncfusion/ej2-vue-calendars",但我得到以下错误:

This dependency was not found:
vue-class-component in ./node_modules/@syncfusion/ej2-vue-calendars/src/calendar/calendar.component.js, ./node_modules/@syncfusion/ej2-vue-calendars/src/datepicker/datepicker.component.js and 3 others

我尝试安装"vue-class-component",但我得到以下两个警告:

warning  in ./node_modules/@syncfusion/ej2-vue-calendars/src/calendar/calendar.component.js
"export 'Options' was not found in 'vue-class-component'

warning  in ./node_modules/@syncfusion/ej2-vue-calendars/src/daterangepicker/presets.directive.js
"export 'Vue' (imported as 'Vue3') was not found in 'vue-class-component'

我怎么做才能让它工作?

另外,我应该说明一下,我正在做一个v2.6.11项目。

这是我们在早期版本中已知的问题,并在最新版本19.2.0.49中得到解决. 要解决报告的问题,我们建议您将Syncfusion产品版本升级到指定的或最新的版本。

请从下面的反馈中找到详细信息。

https://www.syncfusion.com/feedback/27318/syncfusion-vue-components-are-not-working-in-vue-2

最新更新