Nuxt.js is an open-source, serverless framework based on multiple frameworks including Vue.js, Node.js, Webpack and Babel.js. Created to build fast, complex isomorphic applications quickly. The framework handles the complex pre-coding configuration and UI rendering for your app, so that developers can focus on writing code. Additional benefits of Nuxt.js include automatic code-splitting, page caching and prefetching, bundling, and static site generation.
Nuxt.js is fully capable of delivering the speedy websites that consumers demand. We performed a study to discover which modern frontend framework delivers the fastest websites and found Nuxt.js leads the pack, in front of React, Angular, Vue.js and Next.js. Layer0 is proud to be a Nuxt.js sponsor to help promote modern, open-source frameworks working to facilitate a faster Web.
SFCC offers two APIs are: Open Commerce API (OCAPI) and Commerce Cloud API (CCAPI) which is in beta.
The Open Commerce API (OCAPI) is a RESTful API used by SFCC which consists of three component APIs:
OCAPI is a fairly robust API, however if your site is still on Pipelines architecture you may have a harder time integrating your existing customizations with OCAPI. In those cases use synthetic APIs and migrate that functionality to OCAPI at a later date. CCAPI layer in beta seems promising, but it is too early to judge the extent in which it will support speedy headless storefronts.
Layer0 lets you deliver your Nuxt.js store on Salesforce Commerce Cloud in sub-seconds. The average website on Layer0 sees median speeds of 320ms, as measured by Largest Contentful Paint (LCP). But Layer0 is much more than a website accelerator. It is a Jamstack platform for eCommerce.
Layer0 makes the Web instant and simple. It helps frontend developers build faster sites that are also easier to maintain. The platform was built specifically for developers at large-scale, database-driven websites, including eCommerce and Travel and includes the following benefits:
With Layer0, your Nuxt.js SFCC site will run in sub-second speeds and your developers will be empowered to control edge caching and reduce rework using the various developer productivity tools that come with the platform.
Check out Shoe Carnival, a sub-second SFCC store on Layer0. The shoe retailer has reduced page loads by 92%, outperforms 98% of leading websites, and increased revenue by 40% on Layer0.
If you're currently using Nuxt.js, use the this guide to deploy your Nuxt.js application on Layer0 and get sub-second loads in as little as 1 hour of work.
“The way you factored in A/B testing is better than any tool I have seen.”
“The number of Layer0 PoPs reduces the amount of time it takes for those roundtrips to the network, making our latency and ping times extremely low.”
"When I saw that we could stream server logs for every deployment on Layer0, that’s when I said it's this product, no other options."
"I get a “WOW!” feeling when seeing how fast sites that run on Layer0 are."
"Layer0 makes implementing new functionality much easier, hands down, than anything else. It is more flexible, user friendly, and it takes all the guesswork out of deployments and caching.”
"I've tried lots of things to optimize the site and this is the best experience I've ever had"