# Vue component

**URL:** <https://discuss.dgraph.io/t/vue-component/7693>\
**Category:** Issues\
**Tags:** untagged, dgraph-js-http\
**Created:** [April 4, 2020, 3:34pm UTC](https://discuss.dgraph.io/t/vue-component/7693 "2020-04-04T15:34:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [April 4, 2020, 3:34pm UTC](https://discuss.dgraph.io/t/vue-component/7693/1 "2020-04-04T15:34:51Z")

</div>

_Posted by_ [ctwhome](https://github.com/ctwhome):

Similar to it would be fantastic to have a component that could run queries and mutations in the same fashion, but with a much cleaning code.

How hard would it be to wrap this “dgraph-js-http”?

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [May 8, 2020, 1:28pm UTC](https://discuss.dgraph.io/t/vue-component/7693/2 "2020-05-08T13:28:13Z")

</div>

[paulftw](https://github.com/paulftw) _commented_ :

It shouldn’t be hard to write a vue wrapper, but I believe that should be done in a separate repository, not here.

`dgraph-js-http` is intended as a minimalistic & framework agnostic JS library.  
Vue / React / Angular / other components would be better off implemented on top of this library, not part of it.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [May 11, 2020, 11:12am UTC](https://discuss.dgraph.io/t/vue-component/7693/3 "2020-05-11T11:12:47Z")

</div>

[ctwhome](https://github.com/ctwhome) _commented_ :

I agree it shouldn’t be part of the core of “dgraph-js-http”, I am thinking if an official wrapper from you guys would give it continuity and trustability 🙂

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [July 11, 2020, 1:15am UTC](https://discuss.dgraph.io/t/vue-component/7693/4 "2020-07-11T01:15:12Z")

</div>

Closed on July 11, 2020, 1:15am UTC


