# Discourse comments in Vuejs

**URL:** <https://meta.discourse.org/t/discourse-comments-in-vuejs/106128>\
**Category:** Development\
**Created:** [1월 9, 2019, 11:18오후 UTC](https://meta.discourse.org/t/discourse-comments-in-vuejs/106128 "2019-01-09T23:18:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [1월 10, 2019, 2:23오후 UTC](https://meta.discourse.org/t/discourse-comments-in-vuejs/106128/2 "2019-01-10T14:23:37Z")

</div>

> [@ahab4ik](#):
>
> I have a website that uses Vuejs. And a forum in Discourse. I am trying to insert a javascript in the template file that will connect comments from the forum to a specific page on Vuejs site

The embedding code we provide is meant for static sites, not client side rendered (SPAs) like Vue/React/Ember/Angular.

You will have to look into another method of obtaining the data from Discourse. We do offer a [full API](https://docs.discourse.org/) but you might have to proxy it through your own server to avoid cross domain requests.

---

_[View the full topic](https://meta.discourse.org/t/discourse-comments-in-vuejs/106128)._
