# Is there compatability with Vue 3, I'm having issues migrating

**URL:** <https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406>\
**Category:** Developing with Prismic\
**Tags:** vuejs, product-feature-idea\
**Created:** [January 1, 2021, 9:59pm UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406 "2021-01-01T21:59:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhysmatthew](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@rhysmatthew](https://community.prismic.io/u/rhysmatthew)\
**Post date:** [January 1, 2021, 9:59pm UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406/1 "2021-01-01T21:59:03Z")

</div>

Hi there, I decided to update my personal website which uses Vue JS and Prismic. All was working smoothly until I migrated my Vue 2 \> Vue 3 via the Vue CLI.

I get this js error in the console (full screenshot below) "Cannot set property '$prismic' of undefined". I believe it's because of the core changes to Vue, i.e. Vue.use(PrismicVue, ... has changed and I now use a variable referencing createApp(). I.e. my new code is vueApp.use(PrismicVue, ... and I think this is maybe causing the initialisation issue.

Also with Vue 3 we don't even import Vue from 'vue' anymore, it's all handled with createApp.

Please let me know if you have any advice or fixes for this, I'd like to use Vue 3 and Prismic so it would be ideal. Thanks in advance.

 ![Screenshot 2021-01-01 at 21.56.16](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/4/47d4ca716badb58692ea9ca487da1a5e57e6d2fc.png)

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [January 4, 2021, 1:42pm UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406/2 "2021-01-04T13:42:35Z")

</div>

Hi Rhys,

For our kit to work Vue 3, it will require some updates. I see that you already created an issue for this, thanks for this. I'll bring this to the attention of our team and hopefully can work on it in the future.

> <https://github.com/prismicio/prismic-vue/issues/41>
>
> Hi there, I decided to update my personal website which uses Vue JS and Prismic. All was working smoothly until I...

For now though unfortunately it's not compatible, but like I said I can let the team know.

Thanks.

---

<div class="post-metadata">

**Author:** ![rhysmatthew](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@rhysmatthew](https://community.prismic.io/u/rhysmatthew)\
**Post date:** [January 5, 2021, 11:43pm UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406/4 "2021-01-05T23:43:15Z")

</div>

Hi Phil,

Thanks for getting back to me. I thought that was the case, must take a lot of people a while to catch up with updates like this.

There is a vanilla JS way right? to retrieve the Prismic data via the API. If so I'll just convert to that.

Thanks,  
Rhys.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [January 6, 2021, 10:01am UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406/5 "2021-01-06T10:01:15Z")

</div>

Thanks for understanding.

Yeah sure you can check out our JS docs here:  
[https://prismic.io/docs/technologies/javascript](https://prismic.io/docs/technologies/javascript)

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [January 13, 2021, 2:10pm UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406/6 "2021-01-13T14:10:59Z")

</div>

closed on January 13, 2021, 2:10pm UTC, flag & select 'Something Else' to reopen.

This is being tracked as an open feature request.

If you have another use-case for this feature, you can ['Flag' this topic to reopen](https://community.prismic.io/t/re-open-a-thread/2175). Please use the ❤ button to show your support for the feature and check out our [Feature Request Guidelines](https://community.prismic.io/t/feature-requests-what-do-you-already-love-what-could-be-better/844).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 4:46pm UTC](https://community.prismic.io/t/is-there-compatability-with-vue-3-im-having-issues-migrating/3406/7 "2021-12-09T16:46:26Z")

</div>

Opened on December 9, 2021, 4:46pm UTC


