Recherches récentes


Pas de recherche récente

Loading css application.css in external template like vue, react template

Avec réponse


Publication le 24 sept. 2024

I am calling the Zendesk API from an external Vue app to retrieve all articles. I can render the article body in HTML, but the challenge is: how can I load the corresponding CSS file for proper styling ?

 

Currently i'm hard codeing this file : //static.zdassets.com/hc/assets/application.css which works for me but I a fraid this file change.


0

1

1 commentaire

image avatar

Erica Girges

Zendesk Developer Advocacy

Hi Emad, 
 
Making css changes to your help center files are completely acceptable. The template pages are meant to be editable. If you're looking for a more integrated approach you could use the Templating API. This would allow you to make styling changes directly in the HTML files. 
 
Hope this helps!

0


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication