Skip to content

"window.Stripe is not a function" although ssr: false #16

@hansemannn

Description

@hansemannn

I am trying to integrate the Vue-Stripe library into a PoC project and fail after adding it as a plugin and referencing it in the nuxt.config.ts. The error is:

TypeError: window.Stripe is not a function
    install index.js:1
    use VueJS
    default vue-stripe.js:11
    _callee2$ NuxtJS
    c index.js:1
    _invoke index.js:1
    t index.js:1
    Babel 32
    NuxtJS 12

Stripe should be available via the plugin import, so I am wondering how this can happen. Is the Nuxt integration still meant to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions