# SliceZones Not Rendering Using Prop queryType="single"

**URL:** <https://community.prismic.io/t/slicezones-not-rendering-using-prop-querytype-single/9295>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [March 7, 2022, 11:01pm UTC](https://community.prismic.io/t/slicezones-not-rendering-using-prop-querytype-single/9295 "2022-03-07T23:01:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![james0r](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/james0r/32/4065_2.png) [@james0r](https://community.prismic.io/u/james0r)\
**Post date:** [March 7, 2022, 11:01pm UTC](https://community.prismic.io/t/slicezones-not-rendering-using-prop-querytype-single/9295/1 "2022-03-07T23:01:42Z")

</div>

I am able to render my slices if I add a UID to my singular Custom Type and use

```auto
<slice-zone type="blog_single" uid="blog-single" />

```

but

```auto
<slice-zone type="blog_single" queryType="single" />

```

Just renders the "Your slice is empty" component.

The custom type for this document is definitely singular as you can see here

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/0/097f661f8d4226b2188f732e50d19468bfd74ec3.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/4/464609e4ac6a81da0bc758df594ba5ae9c8b2c6d.png)

After adding the UID field to the singular custom type, i tried again with using `queryType="single"` on my slice zone component and again failed.

---

<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:** [March 8, 2022, 10:54am UTC](https://community.prismic.io/t/slicezones-not-rendering-using-prop-querytype-single/9295/3 "2022-03-08T10:54:36Z")

</div>

Hello @james0r

The UID of the document is required when **queryType** is "repeat". You also don't need to add UID in a single type. I have a few questions:

1. Was this Custom Type repeatable before?
2. Do you have some doc in the Archive or release tab?
3. What version of vue/slicezone do you have?

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![james0r](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/james0r/32/4065_2.png) [@james0r](https://community.prismic.io/u/james0r)\
**Post date:** [March 8, 2022, 7:40pm UTC](https://community.prismic.io/t/slicezones-not-rendering-using-prop-querytype-single/9295/4 "2022-03-08T19:40:16Z")

</div>

Actually in my case adding a UID is the only way it works.

1. No was always singlular
2. 1 unrelated doc in archives for different custom type
3. 0.2.1

Thanks

---

<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:** [March 9, 2022, 10:52am UTC](https://community.prismic.io/t/slicezones-not-rendering-using-prop-querytype-single/9295/5 "2022-03-09T10:52:39Z")

</div>

Hello @james0r

That's strange. Could you please send me your prismic repo URL and project source code? You can send me a Private message, though.

Meanwhile, can you update vue-slicezone to 0.1.2 version?

Thanks,  
Priyanka
