# Preview using Nuxt.js

**URL:** <https://community.prismic.io/t/preview-using-nuxt-js/3517>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [January 11, 2021, 2:46pm UTC](https://community.prismic.io/t/preview-using-nuxt-js/3517 "2021-01-11T14:46:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://community.prismic.io/u/jean)\
**Post date:** [January 11, 2021, 2:46pm UTC](https://community.prismic.io/t/preview-using-nuxt-js/3517/1 "2021-01-11T14:46:25Z")

</div>

Could you explain what are the steps to perform in order to enable previews on my website using Nuxt.js as I find the documentation no very explicit for this framework ?

Thank you very much,  
Jean

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [January 11, 2021, 3:04pm UTC](https://community.prismic.io/t/preview-using-nuxt-js/3517/3 "2021-01-11T15:04:56Z")

</div>

Hi @jean,

To enable previews, first add a preview environment in your repository. I recommend leaving the preview route as `/preview`, the default.

If you have already added your repo to the config file in your Nuxt project, everything should now be ready to go.

If you're using a different preview route, you'll need to specify that in the `nuxt.config.js`. You can find info on how to do that, and more information about how Previews work, in the `@nuxtjs/prismic` module documentation:

> **[Previews](https://prismic.nuxtjs.org/previews)**
>
> Easily connect your Nuxt.js application to your content hosted on Prismic

Let me know if that works for you. If not, send me your project files in a GitHub repo or ZIP file, and I can help you debug. (You can send your files in a DM if you like.)

Best,  
Sam

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [February 3, 2021, 3:45pm UTC](https://community.prismic.io/t/preview-using-nuxt-js/3517/4 "2021-02-03T15:45:03Z")

</div>

This issue has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<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, 5:10pm UTC](https://community.prismic.io/t/preview-using-nuxt-js/3517/5 "2021-12-09T17:10:16Z")

</div>



---

<div class="post-metadata">

**Author:** ![chaderenyore480](https://avatars.discourse-cdn.com/v4/letter/c/bbce88/32.png) [@chaderenyore480](https://community.prismic.io/u/chaderenyore480)\
**Post date:** [May 21, 2022, 7:50pm UTC](https://community.prismic.io/t/preview-using-nuxt-js/3517/6 "2022-05-21T19:50:06Z")

</div>

This doesn't work for me.  
I added everything but when I click to preview it takes me to the correct route but without page changes. same thing for local and live preview.
