Hi there,
After developping and maintaining my extensions for quite a while, adding new features.
Some of these features required me to use external front-end libs like Datatable, sweetalert2...
Some of these ones are required to be loaded on everypage (like sweetalert2) but some other ones aren't.
I currently am loading all these libs in the https://docs.espocrm.com/development...ta/app-client/ file of my extension.
This makes the user load all the libs each time we render the SPA.
Is there a way in EspoCRM to individually load these kind of libs page by page.
Like :
I want to load the lib X with these CSS and JS files on the pages :
TestEntity/detail
myCustomPage22
Regards,
Firyo.
After developping and maintaining my extensions for quite a while, adding new features.
Some of these features required me to use external front-end libs like Datatable, sweetalert2...
Some of these ones are required to be loaded on everypage (like sweetalert2) but some other ones aren't.
I currently am loading all these libs in the https://docs.espocrm.com/development...ta/app-client/ file of my extension.
This makes the user load all the libs each time we render the SPA.
Is there a way in EspoCRM to individually load these kind of libs page by page.
Like :
I want to load the lib X with these CSS and JS files on the pages :
TestEntity/detail
myCustomPage22
Regards,
Firyo.
Comment