Some wprk on auth code

This commit is contained in:
Karolis2011
2021-08-10 10:48:40 +03:00
parent e498f41f95
commit b1935f0ffb
10 changed files with 266 additions and 100 deletions

View File

@@ -0,0 +1,12 @@
import { createStore, createLogger } from "vuex";
import auth from "./modules/auth";
const debug = process.env.NODE_ENV !== "production";
export default createStore({
modules: {
auth,
},
strict: debug,
plugins: debug ? [createLogger()] : [],
});