2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-07 19:02:24 +03:00

More reliable strategy for getting deepmost component + addition of refresh() method + example & documentation on asynchronous updates

This commit is contained in:
Declan de Wet
2016-11-09 07:26:38 +02:00
parent fa290273df
commit 076832cbd6
18 changed files with 268 additions and 45 deletions
-11
View File
@@ -1,11 +0,0 @@
import inject from './inject'
/**
* Returns an injector for server-side rendering.
* @this {Object} - the Vue instance (a root component)
* @return {Object} - injector
*/
export default function $meta () {
// bind inject method to this component
return { inject: inject.bind(this) }
}