2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-21 21:20:33 +03:00

chore: add separate tests for server and browser plugin

This commit is contained in:
pimlie
2019-02-11 12:40:00 +01:00
parent 02e4094a35
commit 93fb27a694
3 changed files with 17 additions and 36 deletions
+7
View File
@@ -1,6 +1,7 @@
import { version } from '../package.json'
import createMixin from './shared/mixin'
import setOptions from './shared/options'
import { isUndefined } from './shared/typeof'
import $meta from './client/$meta'
/**
@@ -17,4 +18,10 @@ function VueMeta(Vue, options = {}) {
VueMeta.version = version
// automatic install
if (!isUndefined(window) && !isUndefined(window.Vue)) {
/* istanbul ignore next */
Vue.use(VueMeta)
}
export default VueMeta