diff --git a/src/shared/plugin.js b/src/shared/plugin.js index 9ccd32e..0b57b57 100644 --- a/src/shared/plugin.js +++ b/src/shared/plugin.js @@ -9,11 +9,6 @@ import { VUE_META_TAG_LIST_ID_KEY_NAME } from './constants' -// automatic install -if (typeof Vue !== 'undefined') { - Vue.use(VueMeta) -} - // set some default options const defaultOptions = { keyName: VUE_META_KEY_NAME, @@ -22,6 +17,11 @@ const defaultOptions = { tagIDKeyName: VUE_META_TAG_LIST_ID_KEY_NAME } +// automatic install +if (typeof Vue !== 'undefined') { + Vue.use(VueMeta) +} + /** * Plugin install function. * @param {Function} Vue - the Vue constructor.