Request to join nuxt-modules with stripe-js integration
Module Information
- Current name: nuxt-stripe-js (pending approval)
- Desired name: @nuxtjs/stripe-js
- Description: A Nuxt module for Stripe.js integration
- Repository: https://github.com/asonnleitner/nuxt-stripe-js
Background
This module is an effort to port the popular @stripe/react-stripe-js library to the Vue/Nuxt ecosystem. While Stripe officially maintains React components, there's a gap in official support for Vue developers. I've worked to create a comparable developer experience with Vue-specific optimizations, bringing the same level of integration and ease-of-use that React developers enjoy to the Nuxt community.
I should note that while I'm not a React expert, I've done my best to understand and properly translate the @stripe/react-stripe-js patterns to Vue/Nuxt. I've been using this module privately in my own projects for over a year without any issues. Having additional eyes from the Nuxt modules developers would be valuable to ensure the implementation follows best practices for the Vue ecosystem.
Current Status
I've developed a comprehensive Stripe.js integration module for Nuxt applications that provides easy implementation of Stripe.js and Stripe Elements. I'm currently facing an npm naming conflict with an abandoned package (nuxt-stripejs), and I'm in the process of resolving this with npm support.
Why join nuxt-modules?
I believe this module would benefit from being part of the official Nuxt modules ecosystem for several reasons:
- Stripe integration is a common requirement for many Nuxt applications
- Being part of nuxt-modules would provide better visibility and trust for users
- Collaborative maintenance would ensure long-term support and improvements
- The module could benefit from the expertise of the broader Nuxt community
Features
- Easy integration with Stripe Elements
- TypeScript support
- Full Nuxt 3 compatibility
- Comprehensive documentation and examples (in progress)
Future Plans
- Add more advanced Stripe features
- Improve testing coverage
- Create detailed examples for common use cases
I'm excited about the possibility of joining forces with the nuxt community to create a robust, official Stripe solution for the Nuxt ecosystem. I'm open to any feedback or suggestions on how to improve the module to meet the standards of the official Nuxt modules.
Thank you for considering this request!
Hi @asonnleitner
As I do appreciate the ask for joining the @nuxtjs namespace, I will be more comfortable after your module get adoption and feedback from the community itself.
I see that @fabiiomiiguel is an owner of the npm package for nuxt-stripejs, are you guys still maintaining the package or will you be up to add @asonnleitner to be able to publish starting with the v3 version?
Yes, we still use the package in our daily projects that haven't been migrated to Nuxt 3 yet. We can definitely start working on the plugin migration.
@fabiiomiiguel Thank you for your comment. To clarify, asonnleitner/nuxt-stripe-js is a wrapper around @stripe/stripe-js, similarly as @stripe/react-stripe-js because @stripe/stripe-js is for the client side to render UI components, not to be confused with the stripe backend library.
This module does not add any endpoints for stripe webhooks or stripe payment intent generation. Its purpose is purely to facilitate the client-side integration of Stripe's components within Nuxt applications.