JSPM

@nuxthub/core

0.2.2-1709569970.5c424c8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7865
  • Score
    100M100P100Q130466F
  • License Apache-2.0

Build full-stack Nuxt applications on Cloudflare, with zero configuration.

Package Exports

  • @nuxthub/core
  • @nuxthub/core/nuxt.config.ts

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

npm version npm downloads License Nuxt

Build full-stack applications with Nuxt on Cloudflare, with zero configuration.

Features

  • Query an SQLite database with hubDatabase()
  • Access key-value storage with hubKV()
  • Store files with hubBlob()

Read more on https://hub.nuxt.com

Quick Setup

  1. Install @nuxthub/core dependency to your project:
npx nypm@latest add @nuxthub/core
  1. Install wrangler development dependency to your project:
npx nypm@latest add -D wrangler
  1. Add @nuxthub/core to the extends section of nuxt.config.ts
export default defineNuxtConfig({
  extends: [
    '@nuxthub/core'
  ]
})

That's it! You can now use 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

License

Apache 2.0