1.1.2 • Published 3 years ago

@moreillon/vue_authentication_wall_vuetify v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Vue Authentication wall (Vuetify)

This components forces users to login before getting access to the main content of a VueJS app.

Usage

<template>
  <v-app>
    <v-main>
      <AuthenticationWall
        :options="options"
        @user="get_user($event)">
        <router-view/>
      </AuthenticationWall>
    </v-main>
  </v-app>
</template>

<script>
import AuthenticationWall from '@moreillon/vue_authentication_wall_vuetify'
export default {
  name: 'App',
  components: {
    AuthenticationWall
  },
  data: () => ({
    options: {
      login_url: 'LOGIN URL',
      identification_url: 'IDENTIFICATION URL',
    }
  }),
  methods: {
    get_user(user){
      // dom something with the user
    }
  }

}
</script>
1.1.1

3 years ago

1.0.1

3 years ago

1.1.2

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago