Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
Build full-stack applications with Nuxt on Cloudflare, with zero configuration.
hubDatabase()hubKV()hubBlob()cachedEventHandler and cachedFunctionRead more on https://hub.nuxt.com
Duplicate our nuxt-hub/starter or create a new NuxtHub project with:
npx nuxthub init my-app
@nuxthub/core dependency to your project:npx nypm@latest add @nuxthub/core
wrangler development dependency to your project:npx nypm@latest add -D wrangler
@nuxthub/core to the modules section of nuxt.config.tsexport default defineNuxtConfig({
modules: [
'@nuxthub/core'
]
})
That’s it! You can now use 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