Storefront crash course
Introduction to Storefront
- Frontend
- Tech

Juan Garcia
Lead Frontend Developer
SCAYLE Storefront application is an all-in-one starter kit for building high-performance e-commerce shops for the SCAYLE Commerce Engine. It makes it quick and easy to build a best-in-class shop frontend. The latest version of the Storefront application is based on Nuxt and Vue 3 and consists of two parts:
The Storefront application is built to make it easy to change or extend the shop design. This approach drastically reduces the effort required to launch a new e-commerce shop, as you only have to focus on customizing the UI and design layer to your specific needs.
.env
files.SCAYLE provides a modular package architecture for its storefront solution. This approach enables tenants to upgrade or customize specific features without disrupting their entire application. Instead of requiring a complete overhaul with each major update, functionality is divided into independent, manageable packages.
Key Benefits:
Each feature’s core logic is now extracted into dedicated packages, while the user interface components (Vue components) remain within the Storefront application to ensure consistency in design. This separation allows for efficient feature delivery while minimizing complexity and dependencies.
At the heart of this new architecture is @scayle/storefront-nuxt
, which acts as the central hub connecting all independent feature packages. This ensures seamless integration and communication across different functionalities.
As part of this transition, existing feature-specific functions within the current system will be phased out and migrated to their corresponding feature packages, making the platform more maintainable and future-proof.
Storefront SDK (Storefront Core) solution overview.
The Storefront SDKs are a headless solution. They are an NPM package registered as a module inside a Nuxt application. The SDK provides additional functionality but does not include any UI code; that is the responsibility of the Storefront application.
Storefront SDKs also simplify the development of Nuxt-based e-commerce applications on top of the SCAYLE Commerce Engine. They provide essential e-commerce building blocks, including product management, shopping cart handling, and user authentication.
The package includes:
Designed for seamless integration with Vue and Nuxt, the SDKs offer sensible defaults and best practices, reducing implementation effort. They also streamline data flow by connecting to the SCAYLE Backend through designated APIs.
Additionally, the SDKs consolidate interactions with SCAYLE APIs into ergonomic composable functions while providing caching, redirects, sessions, and authentication modules.
2. Storefront application
The Storefront application provides a ready-to-use starter kit built on the popular Nuxt framework. It comes pre-integrated with the Storefront SDKs and demonstrates the implementation of standard e-commerce features and pages, giving developers a significant head start. Beyond just a starting point, the Storefront application showcases best practices for integrating and utilizing various features, serving as a valuable reference point for guidance and inspiration.
Since the Storefront application is built using the Nuxt framework, we follow the same guidelines defined by Nuxt for browser support:
Storefront crash course
Juan Garcia
Lead Frontend Developer