Page 1 of 1

Primeflex 3 does not work without access to fonts.googleapis.com

Posted: 28 Jul 2021, 09:37
by zornic
Hello guys,

we have built an intranet site. This page will also run on clients that don't have access to the internet, but if the users don't have access to fonts.googleapis.com, the simple example already doesn't work and the div "col10" and "col2" will always be displayed one below the other. As well as all the controls are displayed weird.

Code: Select all

<div class="card">
    <div class="grid">

        <div class="col-10">
       </div>

        <div class="col-2">
       </div>

   </div>
</div>

Re: Primeflex 3 does not work without access to fonts.googleapis.com

Posted: 28 Jul 2021, 16:05
by edwin16966
to use primeflex 3.0 you must first uninstall version 2.x with: "npm uninstall primeflex", then you must install again with "npm install primeflex", to know if you are working with version 3.0, you must go to node_modules> primeflex> package.json. I hope it has been helpfull :)

Re: Primeflex 3 does not work without access to fonts.googleapis.com

Posted: 26 Apr 2022, 03:16
by mert.sincan
Hi,

PrimeFlex doesn't use "fonts.googleapis.com". It uses the default font-family of the OS. So, I think this issue is not related to PrimeFlex.

Best Regards,