UNPKG

@websanova/vue-auth

Version:

A simple light-weight authentication library for Vue.js

16 lines (11 loc) 257 B
import Vue from 'vue'; import Vuex from 'vuex'; import auth from './auth.js'; Vue.use(Vuex); const debug = process.env.NODE_ENV !== 'production'; export default new Vuex.Store({ modules: { auth }, strict: debug });