[Vuejs]-Ag-Grid in Vue no npm install example?

4👍

Everything you do is correct except one tiny thing.

I’ve found the solution, when I’ve used vue.js (not minified version), then Vue itself has thrown a warning;

enter image description here

Indicating that, in the “ag-grid-vue” tag, you should not use :rowData as below;

<ag-grid-vue :rowData="rowData" :columnDefs="columnDefs"/>

this usage is wrong as stated in the console warning from Vue.

You should use kebab-case instead of camel-case as below;

<ag-grid-vue :row-data="rowData" :column-defs="columnDefs"/>

This actually works as expected.

I beleive, camel-case works in an environment with the presence of module-loader.

Leave a comment