2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-11 12:22:24 +03:00
This commit is contained in:
Sebastien Chopin
2017-05-12 17:35:46 +02:00
parent 562d9e910c
commit cf5c55f068
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -16,6 +16,9 @@ new Vue({
htmlAttrs: {
lang: 'en',
amp: undefined
}
},
meta: [
{ name: 'description', content: 'Hello', vmid: 'test' }
]
})
}).$mount('#app')
+1 -1
View File
@@ -5,7 +5,7 @@
</template>
<template v-else>
<h3>{{ post.title }}</h3>
<p>{{ post.content}}<p>
<p>{{ post.content}}</p>
<router-link to="/">Go back home</router-link>
</template>
</div>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div>
<h3>{{ post.title }}</h3>
<p>{{ post.content}}<p>
<p>{{ post.content}}</p>
<router-link to="/">Go back home</router-link>
</div>
</template>