A
Alokaiβ€’11mo ago
Darren R

Vue Storefront 2 upgrade path

Hi. We have been working with Vue Storefront 2 for the past 18 months to develop sites with Magento 2. Now you have released the Magento platform agnostic SDK does this mean you are no longer supporting/updating the Vue Storefront Magento integration? Vue 2/Nuxt 2 are End Of Life this December. We are trying to assess how we move forward with Vue Storefront. Is our only option essentially rebuilding all our projects using the new Magento SDK and Vue 3/Nuxt 3 ourselves? I'm aware that there is a Vue Storefront getting created using the new Magento SDK and Nuxt 3/Vue 3, is there any roadmap for this? From what I can see, there isn't really a feasible option to update Vue Storefront 2 to use Nuxt 3/Vue 3. I would like to hear other people's thoughts/ideas on this.
7 Replies
simon_meevo
simon_meevoβ€’11mo ago
thats a very good question... not to mention that VSF1 is also dead with not upgrade path...
skirianov
skirianovβ€’11mo ago
Hey @.darrenr πŸ‘‹ First, let me answer your main question πŸ™‚ Vue Storefront will continue support for VSF2 Magento integration, though right now we are still in a decision making process on how we are going to approach the new features for VSF2 Magento. On the questions: We have made a transition to SDK, in order to keep it maintained in the long run and so far, we are sticking to this new achitecture, since it's simply better πŸ™‚ You don't really need to migrate to Magento SDK, unless you really want to, since we are not sunsetting VSF2 Magento support. With regards EOL for Vue 2, if you are interested in running your projects on Vue 2, you can use this service https://v2.vuejs.org/lts/ Unfrotunately, due to the nature of changes between Nuxt2 and Nuxt3 VSF architecture, the migration is not possible without complete rewrite. Though, you can still reuse a lot of code that will make rewrite faster. But yeah, it's not that straightforward. The work on Magento SDK storefronts boilerplate are in progress, though, right now we don't have a viable roadmap for that. Also, work is in progress on Nuxt3 based storefront boilerplate, but it will also require some work from you in order to make it work seamlessly with Magento SDK. Hope that helps and clears few things. Always happy to answer follow up questions πŸ™‚
Vue.js
Vue.js - The Progressive JavaScript Framework
Darren R
Darren Rβ€’11mo ago
Hey @skirianov Thanks for your reply. I'll discuss this with our team and let you know if we have any follow up questions.
Filip Rakowski
Filip Rakowskiβ€’11mo ago
@.darrenr as Sergii mentioned, you don't need to update to SDK but you can to cut a bit on bundle size and you definitely don't eed to migrate to Nuxt 3. No matter if you're gonna use N2 or N3 VSF pieces will be updated. Unfortunately we have no influence on Nuxt & Nuxt ecosystem parts
Schiggi
Schiggiβ€’11mo ago
Sorry to hijack this post, but we are currently want to upgrade our VSF1 installation. Not much custom work done apart of layout and some custom backend calls. So we need to rewrite the frontend anyway. We wanted to use Storefront UI to better align to a proper design system. Backend would be Odoo. It sounds to me that the new SDK is not production-ready. 1) Shall we start with VSF2 and expand to the new SDK later or start right away with the SDK? 2) Can we use VSF2 templates with Storefront UI v2?
rohrig
rohrigβ€’11mo ago
Hi @schiggi1009 πŸ‘‹ , I would start right away with the SDK if it's a new project. On the SFUI2 question, I think it would be easier to just copy/paste the SFUI2 templates from the docs and update the parts you need to.
skirianov
skirianovβ€’11mo ago
@schiggi1009 afaik, we do not have Odoo SDK integration and developing with SFUI2 may result in a case that you won't be able to use current Odoo (Nuxt2) integration