Need a special offer?Find out if your project fits.
+

Issue with componentFolder

Answered
Jaffrezic asked on September 30, 2020

Hi,
I am facing to an issue :
I created my component flexmonster :

new Flexmonster(config);

 
With 
 

var config = {
...
componentFolder: 'https://cdn.flexmonster.com/',
...
}

before version 2.8.11 it worked fine now it doesn't work. For it works  I have to do :
var config = {
...
componentFolder: 'https://cdn.flexmonster.com/2.8.11/',
...
}
 
Could you help me please.
It's possible not use cdn.flexmonster ?
 
Thanks
 
Franck

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 1, 2020

Hello,
 
Thank you for contacting us.
 
Our team wants to explain that the latest 2.8.16 update brought in particular accessibility improvements, which involved changing specific CSS configurations for many Flexmonster UI elements.
 
The mentioned UI issues might be caused by your browser's caching or the CSS file not updated.
We would suggest following the steps below to help you solve the broken UI problem:

  • Clear your browser's cache and reload the page.
  • Add a timestamp to the URL query where the CSS & JS Flexmonster files are loaded from. This simple tweak prevents the browser from loading the cached files and forces it to load the resources from the provided URLs properly:

    <link rel="stylesheet" href="<https://cdn.flexmonster.com/flexmonster.min.css?2020-09-23>" type="text/css">
    <script src="<https://cdn.flexmonster.com/flexmonster.js?2020-09-23>"></script>
    

 
In case you have a requirement not to use CDN, we recommend visiting our quick start guide. It describes two alternative ways to embed Flexmonster: downloading the package with a component or using the npm package manager.
 
Please let us know if this helps.
Do not hesitate to contact us in case additional questions arise.
 
Best regards.
Illia

Please login or Register to Submit Answer