最近搜索


没有最近搜索

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

已回答


已于 2024年9月24日 发布

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 条评论

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


请先登录再写评论。

找不到所需的内容?

新建帖子