Does the CLI create a Nuxt 3 Store?
We as a company are considering using VSF with Nuxt3 as a template for future projects. However I ran the boilerplate & see that there is no functionality implemented (add to cart, filtering etc.) . Anything we have to run beyond 'yarn install', 'yarn dev' to use the template?
10 Replies
Hi @yarden_quatro_78648, thanks for reaching out π
Boilerplate serves as a very bare project for you to implement all the features yourself, like "Add to cart", etc. It's simply a starter project with mock data and mock API calls that servers more of a guide how to build your own storefronts.
In order to implement the functionality, you need to connect the SDK and middleware of your choice and replace existing mock calls with actual SDK calls and then add funtionality
@skirianov Thanks for your reply, are you referring to using the CLI npx @vue-storefront/cli generate store to choose a platform (e.g. Shopify)? I saw the CLI was an option only with VSF 2 (Not Nuxt 3)
@skirianov still need to understand how this works. While creating a new project with the CLI's npx command - can I generate a new project with nuxt3? This way I can choose to add magento for example?
@.rohrig thanks in advance
@yarden_quatro_78648 Currently the CLI does not create a nuxt 3 project
We have the Nuxt 3 boilerplate: https://github.com/vuestorefront/storefront-nuxt3-boilerplate
GitHub
GitHub - vuestorefront/storefront-nuxt3-boilerplate: Nuxt 3 Storefr...
Nuxt 3 Storefront Boilerplate. Contribute to vuestorefront/storefront-nuxt3-boilerplate development by creating an account on GitHub.
This will need to be developed to have a full working store.
@rohrig Thanks!
1) When is the Nuxt 3 version going to be CLI available, and compatible with your integrations? I see the integrations work only with version 2. Am I wrong?
2) Is there a video tutorial for creating & using a custom integration?
Vue Storefront
YouTube
Build a frontend-agnostic integration for your headless backend | S...
Our Newsletter: https://vuestorefront.io/developer-newsletter
Boilerplate Repo:
https://github.com/vuestorefront/integration-boilerplate
Storefront UI
https://docs.storefrontui.io/v2/
Join us on Discord:
https://discord.vuestorefront.io/
Thanks @rohrig ! And what about version 3 with the CLI? Any prospect of a date of release?
Not currently. When we have a release date I'll let you know π
@rohrig Thanks a lot! Good luck with that β‘