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.

$meta is not defined in Vue interface type. #242

@nicolasigot

Description

@nicolasigot

Hello,

While using vue-meta with SSR and typescript, I have issue as we need to expose meta server side using:

app.$meta();

Using typescript I have
const meta = app.$meta();
[ts] Property '$meta' does not exist on type 'Vue'.

What I need to do then as workaround is:
const meta = (app as any).$meta();

Can you please update types definitions?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions