@plusauth/plusauth-widget

Web widget for rendering PlusAuth views

Usage no npm install needed!

<script type="module">
  import plusauthPlusauthWidget from 'https://cdn.skypack.dev/@plusauth/plusauth-widget';
</script>

README

@plusauth/plusauth-widget

This widget is a helper for rendering PlusAuth views.

Table of Contents

  1. Getting Started
  2. Configuration

Getting Started

First we need to add the script to our page

<head>
  <script src="https://unpkg.com/@plusauth/plusauth-widget@0.0.1-alpha.2/dist/plusauth-widget.min.js" type="application/javascript"></script>
</head>

After that all we need to initialize the widget like following:

<script >
  new PlusAuthWidget() // will be rendered at document.body
</script>

Configuration

TODO