Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Vue-meta is not supported in Mobile Safari (iOS < 15) due to unsupported class method declaration with arrow function syntax #760

@derekvasilich

Description

@derekvasilich

static create = (isSSR, config, resolver) => {

Mobile Safari on iOS < 15 (iOS 14.3 tested) generates:
"SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list."

Working solution is to replace line 881 in dist/vue-meta.esm-browser.js
static create = (isSSR, config, resolver) => {
with:
static create(isSSR, config, resolver) {

Alternatively, transpiling of the dependency can be used.

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