D
D
Dmitry2021-07-13 09:52:34
Vue.js
Dmitry, 2021-07-13 09:52:34

Vue-meta not applying name attribute?

I'm using vue-meta 3.0.0-alpha.9 to manage metadata in a vue 3.1 app. I connected the plugin in SSR mode, I'm trying to add data, but instead of my name
attribute value, the meta value appears. I write:

meta: [
    { charset: 'utf-8' },
    { name: 'viewport', content: 'width=device-width, initial-scale=1' }
],


rendered
<meta charset="utf-8" name="meta" content data-vm-ssr="true">
<meta name="meta" content="width=device-width, initial-scale=1" data-vm-ssr="true">

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question