Deploying a Nuxt.js Store on Shopify

Deliver a sub-second Nuxt.js website on Shopify with Moovweb XDN

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. Moovweb is proud to be a Nuxt.js sponsor to help promote modern, open-source frameworks working to facilitate a faster Web.

Shopify is a popular eCommerce platform that has attracted some of the world’s biggest brands from its scalability, flexibility, and simplicity that comes with it. Not to mention, it's highly customizable. Shopify offers a plethora of plugins and APIs, including "Storefront API" which is Shopify's modern GraphQL API that can be used to implement shopping, account management, and checkout flows in a portable frontend. The platform also offers multiple responsive themes out of the box, including Debut, Brooklyn, Narrative and others based on Liquid templating. Shopify is one of the easiest platforms to take headless because its APls are robust, consistent, have a modern GraphQL format, and are well documented.

The API coverage, however, is not complete and throttling issues occur. Furthermore, the platform does not have any out of the box tooling for a headless frontend or server-side rendering (SSR). In fact, the built in Liquid templating language is not suitable for SSR. To truly support SSR on Shopify, requires running and maintaining a fleet Node.js servers. While some customers are running portable frontend on the platform, microservices between the Storefront API and their frontend must be created to optimize the APIs and minimize the amount of client-side logic.

Moovweb XDN lets you deliver an instant loading Nuxt.js website on Shopify in a matter of hours. The average website on Moovweb XDN see median speeds of 320ms loads, as measured by Largest Contentful Paint (LCP), which is a critical metric in Core Web Vitals. With that said, Moovweb XDN is much more than a website accelerator. It is a Jamstack platform for eCommerce. Moovweb XDN makes websites faster for users and simpler for frontend developers. The platform was built specifically for large-scale, database-driven websites, such as eCommerce and Travel, and includes 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 run locally, in pre-prod 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 for 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 the XDN, your Nuxt.js Shopify storefront will have sub-second page loads 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 Tie Bar, a sub-second Shopify website on Moovweb XDN. This mens' retailer delivers 500ms page loads and ranks #1 in the search engine for key phrases on Moovweb XDN.

If you're currently using Nuxt.js, use the this guide to deploy your Nuxt.js application on Moovweb XDN and get sub-second loads in as little as 1 hour of work. 

"The Moovweb XDN 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.”
Tyler Drone, Sr. Manager of Digital Development

Deploy in minutes

Moovweb XDN works with all frontends
Deploy freeTakes 2 minutes