Deploying a Nuxt.js Store on HCL Commerce

Deliver a sub-second Nuxt.js website on HCL Commerce with Layer0

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.

HCL Commerce, previously known as IBM WebSphere, offers flexible catalogue management, great scalability, personalization and deployments on multi/macro sites, built for enterprise level B2B eCommerce. HCL Commerce is a cloud-based, API-first platform, which offers two proprietary frontends including 1. React Reference Storefront and 1. Java JSP Storefront. HCL Reference Storefront is new a closed source proprietary frontend meant to keep you on the platform. The platform's APIs include: REST and SDKs.

HCL Commerce supports both monolithic/traditional and headless architectures. The Standard Architecture is designed to separate individual front-end storefronts from the backend servers, leading to increased security, scalability, flexibility and improves the ease of development and deploys. This Standard Architecture uses traditional Java JSP server-side rendering (SSR), while the second architecture, React Store Architecture, does not. React Store Architecture is based on a Single Page Application (SPA) model, which is a client-centric headless Store that makes API calls. Unfortunately, it does not currently support SSR. Moreover, neither architectures support PWA or AMP out of he box, significantly hindering website performance.

Layer0 lets you deliver your Next.js storefront on HCL Commerce at sub-second speeds. Websites on Layer0 deliver median page loads of 320ms, as measured by Largest Contentful Paint (LCP), a critical metric for search engine ranking. However, Layer0 is much more than a website accelerator. It is a Jamstack platform for eCommerce. Layer0 makes websites faster for users and simpler for frontend developers to maintain. The platform was built specifically for large-scale, database-driven websites, such as eCommerce and Travel, and provides the following benefits: 

  • Jamstack for eCommerce via both pre and just-in-time rendering
  • Zero latency networking via prefetching of data from your product catalog APIs
  • An edge that can be configured natively in your Nuxt.js app (CDN-as-JavaScript)
  • Edge rules that can run locally, in pre-production and production environments  
  • Automated, full-stack preview URLs from GitHub, GitLab, or Bitbucket with every new branch and push
  • Performant split tests at the edge and A/B tests that do not slow down the site, canary deploys, and personalization
  • Serverless JavaScript that is much easier and more reliable than AWS Lambda

With Layer0, your Nuxt.js HCL Commerce store will load in the blink of an eye. Not to mention, 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 J.Jill, a sub-second HCL Commerce storefront on Layer0. The retailer delivers 390ms average page loads across its site.

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. 

Deploy in minutes

Moovweb XDN works with all frontends
Deploy freeTakes 2 minutes