diff --git a/lib/module/index.js b/lib/module/index.js index c007e470d..771f87c1b 100644 --- a/lib/module/index.js +++ b/lib/module/index.js @@ -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`.') } }