1.5.1 • Published 4 years ago

vue-web3-check v1.5.1

Weekly downloads
37
License
-
Repository
-
Last release
4 years ago

Quick Start

Install

yarn add vue-web3-check
or
npm install vue-web3-check --save

Use the library

// main.js
import Vue from 'vue';
import * as Web3Check from 'vue-web3-check';

Vue.use(Web3Check, {
  Web3: typeof Web3 !== 'undefined' ? Web3 : null,
  networks: [1],
  requireAccount: true
});
// App.vue
<template>
  <web3Check>
    <template slot="load">
      <div>loader</div>
    </template>
    <template v-slot:error="props">
      <div>
        <p>{{props.error.type}}</p>
        <p>{{props.message}}</p>
      </div>
    </template>
    <div>web3 work</div>
  </web3Check>
</template>
1.5.1

4 years ago

1.5.0

4 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago