Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
- Query an SQLite database with
hubDatabase() - Access key-value storage with
hubKV() - Store files with
hubBlob()
Read more on https://hub.nuxt.com
- Install
@nuxthub/coredependency to your project:
npx nypm@latest add @nuxthub/core- Install
wranglerdevelopment dependency to your project:
npx nypm@latest add -D wrangler- Add
@nuxthub/coreto theextendssection ofnuxt.config.ts
export default defineNuxtConfig({
extends: [
'@nuxthub/core'
]
})That's it! You can now NuxtHub features in your Nuxt app ✨
# Install dependencies
pnpm i
# Generate type stubs
pnpm dev:prepare
# Develop with the playground
pnpm dev
# Build the playground
pnpm dev:build
# Run ESLint
pnpm lint
# Run Vitest
pnpm test
pnpm test:watch
# Release new version
pnpm release