The easiest way to get started with NuxtHub is to start with one of our templates. It includes all the necessary configuration and resources to get you started.
Click on the GitHub button, then once on GitHub, click on Use this template to create a new repository based on the template.
npx nuxi module add @nuxthub/core-nightly
This command will install @nuxthub/core as dependency and add it to your modules section of your nuxt.config.
That's it! You can now use NuxtHub features in your Nuxt project.
.data directory in your project root, which contains the necessary configuration files and resources for the features to work. It will also add it to the .gitignore file to avoid committing it to your repository.Configure options in your nuxt.config.ts as such:
export default defineNuxtConfig({
modules: ['@nuxthub/core'],
hub: {
// NuxtHub options
}
})
false - Enables the ability to run AI models in your server code trough AI Gateways.false - Enables blob storage to store static assets, such as images, videos and more.false - Enables cache storage to cache your server route responses or functions using Nitro's cachedEventHandler and cachedFunctionfalse - Enables SQL database to store your application's data.false - Enables Key-Value to store JSON data.