In my vue-nuxt page this slice-zone not working
<template>
<div class="container">
<div>
{{page}}
<!-- <slice-zone type="home" uid="app" /> -->
<slice-zone type="{home}" :slices="page.data.body1" />
<Logo />
<h1 class="title">prismic-p1</h1>
<div class="links">
<a
href="https://nuxtjs.org/"
target="_blank"
rel="noopener noreferrer"
class="button--green"
>
Documentation
</a>
<a
href="https://github.com/nuxt/nuxt.js"
target="_blank"
rel="noopener noreferrer"
class="button--grey"
>
GitHub
</a>
</div>
</div>
</div>
</template>
<script>
import SliceZone from "vue-slicezone";
export default {
async asyncData({$prismic }) {
return {
page: await $prismic.api.getByUID('home', 'home_page')
}
},
data() {
return {
components: {
SliceZone,
},
headerData: {},
};
},
methods: {
resolver({ sliceName, slice, i }) {
return Slices[sliceName];
},
},
};
</script>