2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-24 02:40:33 +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: { htmlAttrs: {
lang: 'en', lang: 'en',
amp: undefined amp: undefined
} },
meta: [
{ name: 'description', content: 'Hello', vmid: 'test' }
]
}) })
}).$mount('#app') }).$mount('#app')
+1 -1
View File
@@ -5,7 +5,7 @@
</template> </template>
<template v-else> <template v-else>
<h3>{{ post.title }}</h3> <h3>{{ post.title }}</h3>
<p>{{ post.content}}<p> <p>{{ post.content}}</p>
<router-link to="/">Go back home</router-link> <router-link to="/">Go back home</router-link>
</template> </template>
</div> </div>
+1 -1
View File
@@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<h3>{{ post.title }}</h3> <h3>{{ post.title }}</h3>
<p>{{ post.content}}<p> <p>{{ post.content}}</p>
<router-link to="/">Go back home</router-link> <router-link to="/">Go back home</router-link>
</div> </div>
</template> </template>