on 2020 Mar 03 3:16 PM
Hello everyone,
We have a SAP Commerce Cloud solution with spartacus based on 1905 and want to install a licensed webfont.
The problem is, that the font provider wants us to prohibit people from downloading their font from our shop.
I was googling and found out, that it is easy to do this with an apache, but there is no apache on the cloud environment.
Is there a way to get this issue solved?
Cheers,
Serdar
Request clarification before answering.
If you want to host your own font files, add them to src/assets folder. This folder is being copied at build into the Spartacus client build.
Make sure that you also add your font definition in your src/styles.scss by pointint to /assets/font-name.ttf in your css definition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.