Recent searches


No recent searches

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

Answered


Posted Sep 24, 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 comment

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post