0.1.3 • Published 6 years ago

auth-me-plug v0.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Auth-Me-Plug

Instalation

You will need to have Vue and Vuex installed, as well as a store where to add the necessary Vuex modules for the components to function. Also, this package uses Axios to comunicate with the server that you might be using to authnticate your users.

Usage

Add the modules server and user to the store, like this:

import Vue from 'vue'
import Vuex from 'vuex'

import users from 'auth-me-plug/modules/users'
import server from 'auth-me-plug/modules/server'

Vue.use(Vuex)

export default new Vuex.Store({
    strict: process.env.NODE_ENV !== 'production',
    modules: {
        users,
        server
    }
})
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago