2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-05-17 03:39:38 +03:00

small touchups for an alpha release

This commit is contained in:
Declan de Wet
2016-11-09 07:45:33 +02:00
parent 65f52b59cb
commit d1bfb97cb8
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
This document is still a work in progress...
+6 -1
View File
@@ -78,6 +78,7 @@
- [How do I use component data in `metaInfo`?](#how-do-i-use-component-data-in-metainfo)
- [How do I use component props in `metaInfo`?](#how-do-i-use-component-props-in-metainfo)
- [How do I populate `metaInfo` from the result of an asynchronous action?](#how-do-i-populate-metainfo-from-the-result-of-an-asynchronous-action)
- [Examples](#examples)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -713,4 +714,8 @@ Then in your component, you can call `refresh()` to trigger an update once the f
Just make sure that whatever data source you're using (`store` if you're using Vuex, component `data` otherwise) has some sane defaults set so Vue doesn't complain about `null` property accessors.
Check out the [vuex-async](https://github.com/declandewet/vue-meta/tree/master/examples/vuex-async) example for a far more detailed demonstration of how this works.
Check out the [vuex-async](https://github.com/declandewet/vue-meta/tree/master/examples/vuex-async) example for a far more detailed demonstration of how this works.
# Examples
To run the examples; clone this repository & run `npm install` in the root directory, and then run `npm run dev`. Head to http://localhost:8080.