Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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