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:
@@ -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) }
|
||||
}
|
||||
Reference in New Issue
Block a user