From 59831fbee852ce38598a405f6cc1b971c0430339 Mon Sep 17 00:00:00 2001 From: Pim Date: Mon, 13 Jan 2020 11:14:56 +0100 Subject: [PATCH] fix(module): don't log fatal error when vuex is disabled (#518) --- lib/module/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.') } }