v0.5.0
Breaking changes ⚠️
To make NuxtHub as progressive as possible, we disabled all the features by default.
This way you can only use the features needed:
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxthub/core'],
hub: {
database: true, // Enable hubDatabase()
kv: true, // Enable hubKV()
blob: true, // Enable hubBlob()
cache: true // Enable the Cache KV
}
})This also allow the admin to know what resources to create for your project and ease the onboarding experience (no need to setup R2 or Analytics engine if you don't need them!)
PR #42
🏡 Chore
- Update error message (3528421)
⚠️ Breaking Changes
⚠️ Module option to enable features (#42)