diff --git a/vue3-plugin.js b/vue3-plugin.js index e683390..e28317b 100644 --- a/vue3-plugin.js +++ b/vue3-plugin.js @@ -10,7 +10,7 @@ import * as Components from "./index.js"; * } * } [cfg] */ -const pluginFactory = ({ i18nPlugin }) => { +const pluginFactory = ({ i18nPlugin } = {}) => { return { install(app) { if (i18nPlugin) {