We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca64ad2 commit 094fd9dCopy full SHA for 094fd9d
src/browser.js
@@ -10,6 +10,12 @@ import { hasMetaInfo } from './shared/meta-helpers'
10
* @param {Function} Vue - the Vue constructor.
11
*/
12
function install(Vue, options = {}) {
13
+ if (Vue.__vuemeta_installed) {
14
+ return
15
+ }
16
+
17
+ Vue.__vuemeta_installed = true
18
19
options = setOptions(options)
20
21
Vue.prototype.$meta = $meta(options)
src/index.js
@@ -9,6 +9,12 @@ import { hasMetaInfo } from './shared/meta-helpers'
9
0 commit comments