Home / Blog / News / Just Released: Nuxt Hub Multi-Vendor and First-Class DB
Just Released: Nuxt Hub Multi-Vendor and First-Class DB

Just Released: Nuxt Hub Multi-Vendor and First-Class DB

Daniel Kelly
Daniel Kelly
December 11th 2025

What's so special about this new minor version?

2 anwers:

  1. Deploy Nuxt Hub Anywhere
  2. First-Class Database Experience (👈 This is the most exciting part IMO)

Deploy Nuxt Hub Anywhere

Now you can deploy Nuxt Hub on any hosting provider that you want! Initially they only supported Cloudflare but now you could deploy to:

  • Vercel
  • Netlify
  • Hetzner
  • Anywhere else you want that can run JavaScript!

My personal host of choice is Netlify. I was able to clone the example nuxt hub project here, setup a new DB for it on Turso (because Netlify doesn't support a DB out of the box), and then deploy it to Netlify in no time. The only steps it required was adding the proper .env variables and changing the db config in nuxt.config.ts like so:

// nuxt.config.ts
export default defineNuxtConfig({
  hub: {
    db: {
      dialect: "sqlite",
      connection: {
        url: process.env.DATABASE_URL, // 👈 from Turso
        authToken: process.env.DATABASE_AUTH_TOKEN, // 👈 from Turso
      },
    },
  },
});

BUT this is NOT the most exciting part IMO. What is?

First-Class Database Experience

The new first class support for Drizzle ORM as the standard layer for database operations is a game changer. Not because of the ORM itself (though it is awesome!), but because the standardization means 1 giant benefit:

👉 Modules and layers now have a plug-and-play method for creating new database tables.

So what?

So now the modularity of Nuxt is expanded infinitely!

  • Auth layers can automatically create user tables
  • Blog layers can automatically create blog posts tables
  • E-commerce layers can automatically create products tables
  • and on and on and on...

Sure useStorage gave modules a way to persist data in KV stores, but database tables are a completely different beast and the MOST FLEXIBLE and scalable way to store most server-side data.

With the abilty to extend the databases schema with Nuxt hooks, modules/layers can now tap into that power:

// my-module/index.ts
export default defineNuxtModule({
  setup(options, nuxt) {
    nuxt.hook("hub:db:schema:extend", async ({ dialect, paths }) => {
      paths.push(await resolvePath(`./schema/my-table.${dialect}`));
    });
  },
});

Notice the dialect argument? That's the database dialect that the module is extending, meaning modules can be flexible enough to work with the end-project database dialect of choice!

So what will you build with this new superpower?

Me, I think I will get back to the email layer I built for our course: Authoring Nuxt Layers: Build a Custom Email Layer and add a new table for the sent emails!

Start learning Vue.js for free

Daniel Kelly
Daniel Kelly
Daniel is the lead instructor at Vue School and enjoys helping other developers reach their full potential. He has 10+ years of developer experience using technologies including Vue.js, Nuxt.js, and Laravel.

Comments

Latest Vue School Articles

Vue.js – 2025 In Review and a Peek into 2026

Vue.js – 2025 In Review and a Peek into 2026

A 2025 overview of the Vue ecosystem — from Vue 3.6 performance upgrades to Nuxt 4, Pinia 3, Vite’s new tooling, and adoption trends. Learn what’s new, what’s stable, and what’s coming to Vue.js in 2026.
Daniel Kelly
Daniel Kelly
VueSchool Black Friday

VueSchool Black Friday

Black Friday is the perfect moment to elevate your front-end skills or upgrade your dev toolkit without stretching the budget. We’ve gathered a few limited-time deals on tools, courses, and resources that can help accelerate your growth as a developer at a fraction of the usual cost.
Mostafa Said
Mostafa Said
VueSchool logo

Our goal is to be the number one source of Vue.js knowledge for all skill levels. We offer the knowledge of our industry leaders through awesome video courses for a ridiculously low price.

More than 200.000 users have already joined us. You are welcome too!

Follow us on Social

© All rights reserved. Made with ❤️ by BitterBrains, Inc.