mirror of
https://github.com/Instadapp/vue-web3.git
synced 2024-07-29 21:48:25 +00:00
0.3.0
This commit is contained in:
parent
b9338d89bc
commit
88b90d53b4
|
@ -1,4 +1,4 @@
|
|||
# @kabbouchi/vue-web3 - experimental
|
||||
# @instadapp/vue-web3
|
||||
|
||||
Vue 2/3 wrapper for web3 built on top of [react-web3](https://github.com/NoahZinsmeister/web3-react).
|
||||
|
||||
|
@ -8,16 +8,16 @@ Install:
|
|||
|
||||
```bash
|
||||
# npm
|
||||
npm i @kabbouchi/vue-web3
|
||||
npm i @instadapp/vue-web3
|
||||
|
||||
# yarn
|
||||
yarn add @kabbouchi/vue-web3
|
||||
yarn add @instadapp/vue-web3
|
||||
```
|
||||
|
||||
Usage:
|
||||
|
||||
```js
|
||||
import { useWeb3, setWeb3LibraryCallback } from '@kabbouchi/vue-web3'
|
||||
import { useWeb3, setWeb3LibraryCallback } from '@instadapp/vue-web3'
|
||||
import { InjectedConnector } from '@web3-react/injected-connector'
|
||||
import { WalletConnectConnector } from '@web3-react/walletconnect-connector'
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@kabbouchi/vue-web3",
|
||||
"version": "0.2.16",
|
||||
"name": "@instadapp/vue-web3",
|
||||
"version": "0.3.0",
|
||||
"description": "Vue web3 composition api",
|
||||
"license": "MIT",
|
||||
"main": "dist/cjs/index.js",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Restore all git changes
|
||||
git restore -s@ -SW -- example src test
|
||||
git restore -s@ -SW -- src
|
||||
|
||||
# Resolve yarn
|
||||
yarn
|
||||
|
|
Loading…
Reference in New Issue
Block a user