Skip to content

Commit 2ce5177

Browse files
committed
fix: accept and pass options as second arg for generate
1 parent 8c75ec1 commit 2ce5177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ function install (Vue, options) {
2828
export default {
2929
version,
3030
install,
31-
generate: metaInfo => process.server ? generate(metaInfo) : showWarningNotSupportedInBrowserBundle('generate'),
31+
generate: (metaInfo, options) => process.server ? generate(metaInfo, options) : showWarningNotSupportedInBrowserBundle('generate'),
3232
hasMetaInfo
3333
}

0 commit comments

Comments
 (0)