julio
(Julio Prayer)
July 20, 2021, 10:16am
1
@Phil
Following my issues posted on GitHub, and especially your answer custom_types are not automatically populated into prismic.io · Issue #5 · prismicio-community/nuxt-starter-prismic-multi-page · GitHub I post a new issue about the doc here.
When we run the example with (use npm, do not use yarn currently, I've posted an issue on GitHub about this)
npm dev
We have at http://locahost:3000
Your SliceZone is empty
To start rendering components here, create a document on Prismic.
Then, update your SliceZone accordingly:
<slice-zone type="pageType" uid="pageUid" />
Create a page on Prismic!
On the tutorial, there is no such explanation. It could be very cool to explain and demonstrate how and in wish file change this in the example.
Phil
(Phil Snow)
July 20, 2021, 10:19am
2
Hi Julio,
You can follow the tutorial series here:
Or check the technical documentation for making Slices here:
julio
(Julio Prayer)
July 20, 2021, 10:47am
4
@Phil thanks for your answer.
I've already read this tutorial several times
I've created slices, pushed slices, created Custom Types, Document, try to publish, or see the preview.
But I don't see any explanation on the tutorial how to fix this. I must search again.
(Preview seems to be broken too, I have already checked Troubleshooting: Previews )
Phil
(Phil Snow)
July 20, 2021, 10:51am
5
OK, that's clearer so you've published content, but you're still seeing an empty Slice Zone.
Are you directing to the correct UID for the published page?
Phil
(Phil Snow)
July 20, 2021, 10:53am
6
Can you tell me what version of slice-machine-ui
you have installed? It should be ^0.1.0-beta.1
julio
(Julio Prayer)
July 20, 2021, 12:59pm
7
@Phil
On this official example I've checked that version of slice-machine-ui. It is correct.
Thanks your release of version 4.0.2 of prismic-cli (see your post custom_types are not automatically populated into prismic.io · Issue #5 · prismicio-community/nuxt-sm-tutorial-series · GitHub ), all work well (preview and page).
Maybe it was a problem with version 4.0 ?
Thanks for your help and your kindness @Phil !
Phil
(Phil Snow)
July 20, 2021, 1:00pm
8
So change the slice-machine-ui version worked?
julio
(Julio Prayer)
July 20, 2021, 1:03pm
9
If I understand well, I've not changed version of slice-machine-ui.
I've upgraded prisme-cli
from version 4.0.1 to 4.0.2 .
julio
(Julio Prayer)
July 20, 2021, 1:04pm
10
Phil
(Phil Snow)
July 20, 2021, 1:20pm
11
Ahhhhh ok, perfect thanks Julio
system
(system)
closed as resolved, flag & select 'Something Else' to reopen.
July 21, 2021, 1:20pm
12
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.