Package Exports
- @nuxthub/core
Readme
NuxtHub
Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
Features
- Query an SQLite database with
useDatabase() - Access key-value storage with
useKV() - Store files with
useBlob()
Read more on https://hub.nuxt.com
Quick Setup
- 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 themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@nuxthub/core'
]
})That's it! You can now NuxtHub features in your Nuxt app ✨
Contributing
# 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