Joshua Nussbaum
Joshua Nussbaum
Thanks for the review @ruheni! I will resolve these points over the next few days.
Hey @ruheni, I fixed a few things: - Link color was updated. - Added the seed script in the package.json file to match the instructions in the README - The...
I ran into this error too. It happens if you accidentally define your `apolloProvider` without a `defaultClient`. Incorrect way: ```javascript const apolloProvider = new VueApollo(defaultClient); // missing { } ```...
Hi @lgs This is on the roadmap, we will eventually have a starter kit for SvelteKit with Subscriptions. In the meantime if you have any questions, feel free to drop...
I plan to create a demo after SvelteKit reaches 1.0. In the meantime, if anyone is curious how to do it, here is the rough idea: 1. On the server...
Interesting, maybe the unmounting in svelte should also destroy the component at the same time? Not sure, I'll try it out and get back to you.
Hi @northkode, Which component are you using? ``? I think I need to add info about styling to the docs site.
For styling those components, take a look at this example: https://github.com/joshnuss/svelte-stripe-js/blob/main/src/routes/examples/credit-card/index.svelte All those components accept a `classes` and `style` props. See options for [classes](https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-classes). A general approach is to add...
I think in the case of PaymentElement those options are passed when calling `stripe.elements()` https://github.com/joshnuss/svelte-stripe-js/blob/58b4d1c28f2c9307d2346150efeed7737b6e331a/src/lib/PaymentElement.svelte#L11
Ah, I see what you mean now. The component should be taking more options. I'll open a PR On Fri., Dec. 17, 2021, 8:26 p.m. northkode, ***@***.***> wrote: > I...