N00b's Programming Machine
Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

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>

Install

npm i bright-block-auth

DownloadsWeekly Downloads

21

Version

1.0.21

License

MIT

Unpacked Size

1.15 MB

Total Files

23

Last publish

Collaborators

  • avatar