I have the Asp.Net Core MVC Jquery version 12.3.0 I am trying to add a custom widget.
After doing necessary config I ran npm run create-bundles. After that, when loading the dashbaord I get these errors:
TypeError: Cannot read properties of undefined (reading 'defaults') pointing to: app-layout-libs.min.js /* Set the defaults for DataTables initialisation */ $.extend( true, DataTable.defaults, { dom: "<'row'<'col-xs-12 col-md-6'l><'col-xs-12 col-md-6'f>>" + "<'row'<'col-xs-12'tr>>" + "<'row'<'col-xs-12 col-md-5'i><'col-xs-12 col-md-7'p>>", renderer: 'bootstrap' } );
2 Answer(s)
-
0
Hi alliance225
In which
datatables.init.js
file did you make this change? Finally, can you share the relevant location of theapp-layout-libs.min.js
file after using theyarn create-bundles
command? -
0
I am closing because we decided to ugrade from v12 to 13.3