bright-block-auth

1.0.21 • Public • Published

bright-block-auth

A Vue component that shares a (Bulma) navbar item to control blockstack login.

This component is for sharing between brightblock applications but may be helpful for other applications looking to integrate blockstack decentralised login flows!

Installation

npm i bright-block-auth

Browser

Include the script file, then install the component with Vue.use(BrightBlockAuth); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/brightblock-auth/dist/bright-block-auth.min.js"></script>
<script type="text/javascript">
  Vue.use(BrightBlockAuth);
</script> 

Module

import BrightBlockAuth from 'bright-block-auth';

Usage

Once installed, it can be used in a template as simply as:

<bright-block-auth></bright-block-auth>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.21
    0
    • latest

Version History

Package Sidebar

Install

npm i bright-block-auth

Weekly Downloads

0

Version

1.0.21

License

MIT

Unpacked Size

1.15 MB

Total Files

23

Last publish

Collaborators

  • mijoco