Skip to content

Prototype is no longer compatible with Vue.js #362

@Sublime1

Description

@Sublime1

I know this project is no longer maintained, but who knows what the future holds? I'm creating this issue to gather thoughts on the fact that Prototype is no longer compatible with Vue.js since version 3.2.46

There is a workaround kindly provided by sodatea - putting the following lines before the first call to createApp fixes the issue:

const iframe = document.body.appendChild(document.createElement("iframe"));
const iframeArray = iframe.contentWindow.Array;
document.body.removeChild(iframe);
Array.from = iframeArray.from

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