Skip to content

[discussion] Get it working with a non-Laravel SPA?Β #34

@shahzeb1

Description

@shahzeb1

Hi, great package by the way!

Question

Was just wondering if it's possible to get pan working with a single-page application. Meaning, the backed is Laravel but the frontend is a totally different domain and not a Laravel application.

Suggestion?

My guess is that a <script> containing the Pan JS code and maybe a PAN_ENDPOINT environment variable pointing to the Laravel route might be a good developer experience for SPAs?

Again, thanks for the lovely little package.

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