storyblok / storyblok-nuxt

Storyblok Nuxt module
https://www.storyblok.com/tp/nuxt-js-multilanguage-website-tutorial
MIT License
278 stars 43 forks source link

@next Proposal: Adapt to new Nuxt module-builder #84

Closed alvarosabu closed 2 years ago

alvarosabu commented 2 years ago

Hey there,

Nuxt3 released recently a module-builder, which has been used on the next version of several modules (Nuxt lazyload and nuxt-algolia) I will recommend we upgrade the current code to the standard format.

Benefits

If you agree I can prepare a PR with the migration.

Cheers

Baroshem commented 2 years ago

I completely agree with Alvaro.

Module Builder seems to be much more stable right now as many new modules are being created using it (Algolia, Partytown, Harlem, Prismic, etc). I would recommend rewriting the module using the module builder pattern to avoid current issues with the module.

If you need any help I will be glad to help with the migration :)

alexjoverm commented 2 years ago

Hey @alvarosabu! Thanks a lot for opening this issue, @Baroshem also suggested it, and feels like the way to go. Actually, that's something I worked on already in branch https://github.com/storyblok/storyblok-nuxt/tree/feat/use-storyblok-js.

Right now we're restructuring the underlying SDKs and likely we'll have a separate repo for nuxt 3 SDK. I'll keep you posted soon :)

alvarosabu commented 2 years ago

That sounds great, let me know if u need help. Cheers

Dawntraoz commented 2 years ago

As this is already implemented I will close this issue folks @alvarosabu @Baroshem 🚀