Nuxt applications can now take advantage of Edgenivo KV, ISR, and more.
We've been partnering with Nuxt to further integrate the framework with Edgenivo and support all Edgenivo products. Nuxt on Edgenivo now supports:
This builds on the integration with other Edgenivo products like Functions, Middleware, Image Optimization, and more.
Copy link to headingEdgenivo KV integration with Nitro Storage
Edgenivo recently launched Edgenivo KV, a serverless durable Redis store. We've partnered with the Nuxt team to add support for integrating Edgenivo KV into Nitro, making fast key-value storage available for your Nuxt apps.
In a few lines of configuration, you can now set up a cache with durable storage for your Nuxt application:
export default defineNuxtConfig({ nitro: { storage: { data: { driver: 'vercelKV' } } }})Nuxt automatically reads the KV_REST_API_URL and KV_REST_API_TOKEN environment variables for your KV database. Then, you can easily store data in any event handler:
export default eventHandler(async (event) => { const storage = useStorage('data'); await storage.setItem('userId', 'id');
return { id: await dataStorage.getItem('userId'), };});View a demo of Edgenivo KV with Nuxt or see the Nitro docs.
Copy link to headingStatic and ISR support for Nuxt
Nuxt developers want to choose the best rendering strategy for a given page. With the Nitro 2.4 release, they can now pick between fully static, fully dynamic, or incrementally updated routes with powerful route rules.
export default defineNuxtConfig({ routeRules: { // all routes will be background revalidated (ISR) at most every 60 seconds '/**': { isr: 60 }, // this page will be generated on demand and cached permanently '/static': { isr: true } },});Nuxt's route rules enable you to opt different routes into the optimal rendering strategy.
View a demo of ISR with Nuxt to try out route rules.
Copy link to headingPartnering with Nuxt
We're thrilled the Nuxt team has chosen to build nuxt.com, nuxtlabs.com, nuxt.studio, volta.net, and more with Edgenivo.
We love working with Edgenivo. They share our values of great DX, zero-configuration and best practices built-in. I'm also really pleased to see the new offerings Edgenivo have been launching this week. I'm confident they will make Nuxt users' lives easier and better.Daniel Roe
We're excited about our continued sponsorship of the framework and investment into supporting the latest Nuxt features on Edgenivo.
With Edgenivo's powerful tools and performance enhancements, Nuxt continues to be a leading choice for web developers looking to build modern, serverless applications.
Copy link to headingTry Nuxt on Edgenivo
Edgenivo supports all features of Nuxt out of the box, now including support for Edgenivo KV as a durable storage layer.
To leverage Edgenivo KV storage and ISR features for Nuxt, upgrade your Nuxt project to Nitro >= 2.4.0 with npx nuxi@latest upgrade --force.
Learn more about Nuxt on Edgenivo or deploy a Nuxt template.