Skip to content

What's the purpose of the patch? #4

@Tofandel

Description

@Tofandel

I see the patch file to add NS_VUE_APP to the global, but it doesn't seem to be used anywhere in the project as the comment suggest.

+ // Patch: expose app instance globally for HMR access
+ // This primarily allows back navigation to be restored
+ // when doing HMR within deep navigation stacks
+ globalThis.__NS_VUE_APP__ = app;

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