# Preview: false stops showing latest data for some reason

**URL:** <https://community.prismic.io/t/preview-false-stops-showing-latest-data-for-some-reason/8303>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [December 9, 2021, 11:00pm UTC](https://community.prismic.io/t/preview-false-stops-showing-latest-data-for-some-reason/8303 "2021-12-09T23:00:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marco2](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/marco2/32/2734_2.png) [@marco2](https://community.prismic.io/u/marco2)\
**Post date:** [December 9, 2021, 11:00pm UTC](https://community.prismic.io/t/preview-false-stops-showing-latest-data-for-some-reason/8303/1 "2021-12-09T23:00:33Z")

</div>

I'm using Prismic with Nuxt.js, and I want to get rid of the purple button that shows up on the bottom of my page during development.

![prismic](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/6/6d2293246cb659faa929b762cb88a69670abcf92.jpeg)

I read [in this Github thread](https://github.com/nuxt-community/prismic-module/issues/34) that setting `preview: false` on my `nuxt.config.js` file would remove this button. So last night I updated my config to

```nohighlight
  prismic: {
    endpoint: 'https://xxx.yyy.zzz',
    modern: true,
    preview: false
  },

```

The purple button disappeared (yay!), but my data froze at this point, no longer showing the latest updates I publish. When I look at my API response JSON file, it says `last_publication_date"2021-12-08T23:05:40+0000"`, which was yesterday, right before I disabled the preview button. Removing `preview: false` once again fetches the latest data as expected.

Is this a known bug, or expected behavior? How can I remove that button while still getting my latest published data?

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [December 10, 2021, 1:15pm UTC](https://community.prismic.io/t/preview-false-stops-showing-latest-data-for-some-reason/8303/3 "2021-12-10T13:15:47Z")

</div>

Hello @marco2

Thanks for reaching out to us.

` preview: false` usually disable previews and toolbar on your website. The module won't inject Prismic preview script anymore, and the `/preview` page won't be registered. It should work.

Are you looking for an API response on your website or your API browser? If your changes appear correctly in the browser but not on the website, then [this article](https://community.prismic.io/t/changes-in-prismic-not-appearing-on-your-website/5461) covers the most common reasons for this.

Can you also try to remove modern set to true in the `nuxt.config.js` file?

`modern: true`

This has been known to cause issues:

![](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/2/2a75569228dab3be820f4f2d98e655bbe7d05726.png) [Nuxt Generate won't create repeatable type pages](https://community.prismic.io/t/nuxt-generate-wont-create-repeatable-type-pages/6753/12) [Nuxt.js](https://community.prismic.io/c/kits-and-dev-languages/nuxt-js/26)

Give this a try and let me know.

Thanks,  
Priyanka
