Pesquisas recentes


Sem pesquisas recentes

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

Respondido


Publicado 24 de set. de 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 comentário

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


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação