2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-18 05:40:33 +03:00

chore: add docs site

This commit is contained in:
pimlie
2019-03-10 21:58:13 +01:00
parent 3db250dfea
commit 5aa94ceea3
17 changed files with 6173 additions and 92 deletions
+22
View File
@@ -0,0 +1,22 @@
# How to use async data in metaInfo?
`vue-meta` will do this for you automatically when your component state changes.
Just make sure that you're using the function form of `metaInfo`:
```js
{
data () {
return {
title: 'Foo Bar Baz'
}
},
metaInfo () {
return {
title: this.title
}
}
}
```
Check out the [vuex-async](https://github.com/nuxt/vue-meta/tree/master/examples/vuex-async) example for a more detailed demonstration