1.3.0 • Published 2 years ago

@vue-toolkit/aws-auth v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm ci

@vue-toolkit/aws-auth

Completely style-able components for Amazon Cognito workflows.

Features

  • 🚀 Vue components with minimal styles
  • 🕵️‍♂️ Amazon Cognito workflows
  • 🔒 Router authentication guards
  • 💪 Written in TypeScript

Installation

npm install --save @vue-toolkit/aws-auth @vue-toolkit/common @aws-amplify/auth

Vue Toolkit requires @vue/composition-api >= v1.1

AWS Auth requires vue-router and @aws-amplify/auth as peer dependencies

Usage

import Vue from 'vue';
import { Auth } from '@aws-amplify/auth';
import Common from '@vue-toolkit/common';
import AwsAuth from '@vue-toolkit/aws-auth';

Auth.configure({
  // your configuration values go here
});

Vue.use(Common);
Vue.use(AwsAuth);

Add routes for authentication components:

import VueRouter, { RouteConfig } from 'vue-router';
import { createAuthRoutes } from '@vue-toolkit/aws-auth';

const router = new VueRouter({
  mode: 'history',
  routes: [
    // your other routes go here
    ...createAuthRoutes(),
  ],
});

Optionally, import the minimal default Sass styles:

@import '@vue-toolkit/aws-auth/sass/components';

Credits

@vue-toolkit/aws-auth is a project by TSG, a full-service digital agency taking software from concept to launch. Our powerhouse team of designers and engineers build iOS, Android, and web apps across many industries.

1.3.0

2 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-rc.1

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.0

3 years ago

1.0.0-beta.1

3 years ago

1.0.0-alpha.12

3 years ago

1.0.0-alpha.11

3 years ago

1.0.0-alpha.10

3 years ago

1.0.0-alpha.9

3 years ago

1.0.0-alpha.8

3 years ago

1.0.0-alpha.7

3 years ago

1.0.0-alpha.6

3 years ago

1.0.0-alpha.5

3 years ago

1.0.0-alpha.4

3 years ago

1.0.0-alpha.3

3 years ago

1.0.0-alpha.2

3 years ago

1.0.0-alpha.1

3 years ago

1.0.0-alpha.0

3 years ago

1.0.0-alpha.16

3 years ago

0.2.0

3 years ago