Loading css application.css in external template like vue, react template | Community
Skip to main content

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

  • September 24, 2024
  • 1 reply
  • 0 views

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.

1 reply

  • September 30, 2024
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!