Skip to content

Plugin meta with vueUse/head #76

@kleinpetr

Description

@kleinpetr

Hi,

I am trying to enable meta() plugin as a builder for the Markdown plugin, but nothing happened.
I am trying to change title and layout as route meta prop, but neither of them work

this is my config

Markdown({
      // headEnabled: true,
      exposeFrontmatter: true,
      markdownItOptions: {
        html: true,
        breaks: true,
        typographer: true,
      },
      markdownItSetup(md) {
        md.use(Prism)
        md.use(LinkAttributes, {
          matcher: (link: string) => /^https?:\/\//.test(link),
          attrs: {
            target: '_blank',
            rel: 'noopener',
          },
        })
      },
      builders: [meta()],
    })

I also use vueUse/head plugin, so maybe it could rewrite this behavior?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions