Skip to content

storefront-x/simple-shop-sfx

Repository files navigation

Storefront X Shop

This is a simple e-shop implementation in Storefront X. It's equivalent implementation in Nuxt 3 can be found here.

The main difference is that Nuxt 3 implementation has all directories inside the repository root, while Storefront X implementation has everything inside one module called eshop.

Advantages

  • Smaller bundle size (102 kB without GZip)
  • Consistent imports
  • Overriding (+ extending) for everything

Disadvantages

  • Currently missing simple way of executing GraphQL queries without using the useMagento composable
    • Simple fetchQuery utility function was written for this demo
  • File-based router does not support all of the Nuxts file-based router features
    • Animated transitions
    • Route params spreads (e.g. pages/product/[...parts].vue)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published