Skip to content

Commit

Permalink
PATCH: fix(plugin): handle no params properly
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Apr 23, 2024
1 parent 42a692d commit b5b70e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue3-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as Components from "./index.js";
* }
* } [cfg]
*/
const pluginFactory = ({ i18nPlugin }) => {
const pluginFactory = ({ i18nPlugin } = {}) => {
return {
install(app) {
if (i18nPlugin) {
Expand Down

0 comments on commit b5b70e9

Please sign in to comment.