# Using @nuxtjs/prismic with an old repository

**URL:** <https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [January 21, 2021, 1:52pm UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681 "2021-01-21T13:52:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![helpdesk](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@helpdesk](https://community.prismic.io/u/helpdesk)\
**Post date:** [January 21, 2021, 1:52pm UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681/1 "2021-01-21T13:52:47Z")

</div>

I'm coming back to do some updates on a site that was initially launched a couple of years ago. Prismic have made lots of changes since then, in particular the edit/preview scripts.

My repo is still showing instructions for the old window.prismic approach and the @nuxt/prismic module fails to load the edit/preview button.

Are older repositories compatible with the @nuxt/prismic module? Or does the repo need to be upgraded somehow in order to enable the newer features?

Thanks in advance

---

<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 21, 2021, 4:40pm UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681/2 "2021-01-21T16:40:42Z")

</div>

Hi Team,

Welcome to the community!

The @nuxt/prismic module doesn't support the old preview scripts like you guessed. I can upgrade you repo easily for you if you provide me with the URL.

Thanks.

---

<div class="post-metadata">

**Author:** ![helpdesk](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@helpdesk](https://community.prismic.io/u/helpdesk)\
**Post date:** [January 22, 2021, 8:16am UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681/4 "2021-01-22T08:16:24Z")

</div>

Hey Phil,

Excellent news! The repo in question is [https://dgbm.prismic.io/](https://dgbm.prismic.io/)

Top work on the @nuxtjs/prismic module too. Is a vast improvement on the old preview scripts.

---

<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 22, 2021, 10:19am UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681/5 "2021-01-22T10:19:36Z")

</div>

Hey,

This should be activated now, just check your preview section in your repo settings. If you see `?new=true` in the URL then you have the new toolbar.

Thanks.

---

<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:** [January 23, 2021, 10:19am UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681/6 "2021-01-23T10:19:39Z")

</div>

closed on January 23, 2021, 10:19am UTC as resolved,  flag & select 'Something Else' to reopen.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<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:45pm UTC](https://community.prismic.io/t/using-nuxtjs-prismic-with-an-old-repository/3681/7 "2021-12-09T16:45:26Z")

</div>

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


