Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Module Listing Request]: `@shooteger/nuxt-stripe`

Aperta
#1,487 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
nuxtjs, typescript

Direzione di ricerca

Inizia leggendo il README.md collegato e verificando come il Nuxt modules repository rappresenta gli elenchi dei moduli. Verifica i dettagli del repository e del pacchetto npm, la compatibilità con Nuxt e le funzionalità di integrazione descritte nell’issue. Il lavoro è completato quando il modulo @shooteger/nuxt-stripe è stato aggiunto correttamente alla directory con i metadati documentati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

module-request
Description

This module provides a clean, actively maintained Stripe wrapper integration for Nuxt, supporting both server-side and client-side usage via composables (useServerStripe(event) and useClientStripe()). I need it myself, as the original used fixed stripe package version, and I needed newer stripe api versions.

It was originally forked from the now-archived @unlok-co/nuxt-stripe (by flozero), where I contributed before it got archived too. I made some distinct changes to the original:

  • Stripe packages are now peer dependencies: no duplicate instances, no constant update churn in the module itself. It only required Stripe versions (stripe >= 17, @stripe/stripe-js >= 5)
  • @stripe/stripe-js is fully optional: only required for client-side UI features
  • Full TypeScript support with re-exported types (ServerStripe, Stripe, StripeElements, etc.)
  • Nuxt 3 and 4 compatible (minimum 3.1.0)
  • Runtime config support with automatic env var pickup (NUXT_STRIPE_SECRET_KEY, NUXT_PUBLIC_STRIPE_PUBLISHABLE_KEY): I renamed the variables to make it as clear as possible, which key can be public and which is meant for server side work
  • Manual client load mode (manualClientLoad: true) for lazy initialization (already in the original repo)
  • Real Tests, Built with @nuxt/module-builder, tested with @nuxt/test-utils and Vitest: I am not the best at writing test, I would welcome here some guidance, but I think I pretty much covered the most cases.

For all features and how-tos, I welcome you to read the README.md: https://github.com/Shooteger/nuxt-stripe/blob/main/README.md

Repository

https://github.com/Shooteger/nuxt-stripe

npm

https://www.npmjs.com/package/@shooteger/nuxt-stripe

Nuxt Compatibility

Nuxt 3, Nuxt 4

Lingua principale
TypeScript
Stelle
1.1k
Fork
354
Merge medio
8h 2m
PR unite (30g)
18

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nuxt/modules

Tutte le issue di nuxt/modules

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.