atinux/nuxt-prismic-showcase

Realtime update blog

MartCube opened this issue · 1 comments

I used the same project and uploaded it on Netlify with command generate.
Everything works fine, however how should I update the blog right away when I make a new post ?

I tried to remove static module but then on the dynamic links i get 404 errors.
I'm guessing i'm missing something or doing wrong.

I was not aware about webhooks.
In prismic dashboard there is an option to create webhooks
whenever there is a change or new post created.
Then in Netlify there is option under build & deploys to create build hooks.

With this setup, when client write a new post or edit you will trigger a new deploy on Netlify.