Hi,
I have created a simple code using vue and syncfusion. I have successed create a simple demo using
SpreadsheetPlugin.
But, I have fail when create a simple demo code using button.
My steps is :
- npm install @syncfusion/ej2-vue-buttons --save
- Open main.js file. copy two lines from the documentation.
import { ButtonPlugin } from '@syncfusion/ej2-vue-buttons';
Vue.use(ButtonPlugin);
But, when I saved this code, the browser console show error message.
button.component.js?9a0f:102 Uncaught TypeError: Object(...) is not a function
at eval (webpack-internal:///./node_modules/@syncfusion/ej2-vue-buttons/src/button/button.component.js:117)
at eval (webpack-internal:///./node_modules/@syncfusion/ej2-vue-buttons/src/button/button.component.js:124)
at Module../node_modules/@syncfusion/ej2-vue-buttons/src/button/button.component.js (chunk-vendors.js:8975)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (webpack-internal:///./node_modules/@syncfusion/ej2-vue-buttons/src/index.js:33)
at Module../node_modules/@syncfusion/ej2-vue-buttons/src/index.js (chunk-vendors.js:9023)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (webpack-internal:///./node_modules/@syncfusion/ej2-vue-buttons/index.js:2)
Can you let me know, why the error showed?
I am still not code anything. Only import the code from tutorial and error showed.
This is my vue version :
C:\Users\toto>vue --version
@vue/cli 4.5.13
Thank you.
Best regards,
Toto