mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-24 06:10:38 +03:00
Revert "refactor: remove beforeMount hook"
This reverts commit 3a6374e2afa57e624c60e42277f71edc998f1f9f.
This commit is contained in:
committed by
Alexander Lichter
parent
18fd23d3c0
commit
a853ce3de7
+1
-1
@@ -5,7 +5,7 @@ import { ensuredPush } from './ensure'
|
|||||||
|
|
||||||
export default function createMixin(Vue, options) {
|
export default function createMixin(Vue, options) {
|
||||||
// for which Vue lifecycle hooks should the metaInfo be refreshed
|
// for which Vue lifecycle hooks should the metaInfo be refreshed
|
||||||
const updateOnLifecycleHook = ['activated', 'deactivated']
|
const updateOnLifecycleHook = ['activated', 'deactivated', 'beforeMount']
|
||||||
|
|
||||||
// watch for client side component updates
|
// watch for client side component updates
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user