2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-07 11:02:27 +03:00

fix: accept and pass options as second arg for generate

This commit is contained in:
pimlie
2019-10-07 23:39:00 +02:00
parent 8c75ec1356
commit 2ce5177ba4
+1 -1
View File
@@ -28,6 +28,6 @@ function install (Vue, options) {
export default {
version,
install,
generate: metaInfo => process.server ? generate(metaInfo) : showWarningNotSupportedInBrowserBundle('generate'),
generate: (metaInfo, options) => process.server ? generate(metaInfo, options) : showWarningNotSupportedInBrowserBundle('generate'),
hasMetaInfo
}