Closed mornir closed 3 years ago
Thanks for the contribution @mornir, I think this is a sensible idea.
I might need to add a notice about the legacy branch being unsupported (although I may accept PRs still). My understanding from the Sanity/Nuxt community is that the Vue 2 version of this plugin has been superseded by this package, so perhaps I should link to that. What do you think?
Yes, it's a good idea to add a link to nuxt-sanity
, which is a great and well-maintained package.
But, for now, I personally prefer to quickly set up picosanity
, @sanity/image-url
and sanity-blocks-vue-component
when working with Nuxt. With piconsanity, I can easily query my routes in nuxt.config.js
without having to polyfill the fetch API. And with @sanity/image-url
, I can make use of the hotspots & crops area of Sanity.
I've used sanity-blocks-vue-component (v0.1.0)
in about 4 projects in production and so far I had no problems with it (except with functional components).
(As for @sanity/image-url
, I'm also looking to switching nuxt-image
. The author of nuxt-sanity
made a great job there! https://image.nuxtjs.org/providers/sanity)
@rdunk Hey! Thanks for the rewrite! I thought that it would be nice to provide a link to the old readme. It will still take a while before Nuxt 3 is released and in the meantime many devs are stuck with Vue 2.