Skip to content
Permalink
Browse files
fix(module): don't log fatal error when vuex is disabled (#518)
  • Loading branch information
pimlie authored and pi0 committed Jan 13, 2020
1 parent 42f9cfb commit 59831fbee852ce38598a405f6cc1b971c0430339
Showing 1 changed file with 1 addition and 1 deletion.
@@ -51,7 +51,7 @@ function validateOptions (options) {
}

// Enforce vuex store because auth depends on it
if (!this.options.store) {
if (options.vuex && !this.options.store) {
logger.fatal('Enable vuex store by creating `store/index.js`.')
}
}

0 comments on commit 59831fb

Please sign in to comment.