Open LiverpoolOwen opened 6 years ago
It seems you are missing the TypeScript instructions. Make sure you add jquery to tsconfig.json and then create the interface in typings.d.ts. This is so typescript knows how to call and use the javascript. This article should help https://medium.com/all-is-web/angular-5-using-jquery-plugins-5edf4e642969
I have followed the instructions for adding Jquery and its plug ins.
'jexcel/dist/js/jquery.jexcel', 'jquery'
to vendor nonTreeShakableModules'jexcel/dist/js/jquery.jexcel';
to boot browser fileimport * as $ from "jquery";
to the component file$("#mytable").jexcel({});
to component fileI am seeing the following error
__WEBPACK_IMPORTED_MODULE_0_jquery__(...).jexcel is not a function
Additional information:
Am i missing something? Thanks