2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-12 05:32:24 +03:00

Revert "refactor: remove beforeMount hook"

This reverts commit 3a6374e2afa57e624c60e42277f71edc998f1f9f.
This commit is contained in:
pimlie
2019-03-09 09:24:50 +01:00
committed by Alexander Lichter
parent 18fd23d3c0
commit a853ce3de7
+1 -1
View File
@@ -5,7 +5,7 @@ import { ensuredPush } from './ensure'
export default function createMixin(Vue, options) {
// 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
return {