Package Exports
- @nuxthub/core
- @nuxthub/core/dist/module.cjs
- @nuxthub/core/dist/module.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nuxthub/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
NuxtHub
Build full-stack applications with Nuxt on Cloudflare, with zero configuration.
Features
- SQL database to store your application's data with
hubDatabase() - Key-Value to store JSON data accessible globally with low-latency with
hubKV() - Blob storage to store static assets, such as images, videos and more with
hubBlob() - Cache storage to cache your server route responses or functions using Nitro's
cachedEventHandlerandcachedFunction
Read more on https://hub.nuxt.com
Quick Setup
Duplicate our nuxt-hub/starter or create a new NuxtHub project with:
npx nuxthub init my-appAdd to a Nuxt project
- 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 use NuxtHub features in your Nuxt app ✨
Feedback
- 💡 Feature request: Suggest an idea or improvement.
- 🐞 Bug report: Create a report to help us improve the platform.
- 🏞️ New Template: Share a template you made based on NuxtHub.
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