Observed since 20 Oct, 22:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Implementation of VueJS plug-in.
Implementation of Vue.js plug-in.
The 0xcert Framework is a free and open-source JavaScript library that provides tools for building powerful decentralized applications. Please refer to the official documentation for more details.
This module is one of the bricks of the 0xcert Framework. It's written with TypeScript and it's actively maintained. The source code is available on GitHub where you can also find our issue tracker.
Create a new file ./plugins/0xcert.js with the code below.
import Vue from 'vue'
import { Vue0xcert } from '@0xcert/vue-plugin'
import { MetamaskProvider } from '@0xcert/ethereum-metamask-provider'
import { Cert } from '@0xcert/cert'
import { AssetLedger } from '@0xcert/ethereum-asset-ledger'
import { ValueLedger } from '@0xcert/ethereum-value-ledger'
import { Gateway } from '@0xcert/ethereum-gateway'
Vue.use(Vue0xcert, {
provider: new MetamaskProvider({
actionsGatewayId: '0xf382cfa46f01d9b401d62432ad3797ee190cc97f',
}),
modules: [
{ name: 'Cert', object: Cert },
{ name: 'AssetLedger', object: AssetLedger },
{ name: 'ValueLedger', object: ValueLedger },
{ name: 'Gateway', object: Gateway },
],
})
Register the plugin inside the nuxt.config.js file.
export default {
plugins: [
{ src: '~/plugins/0xcert', ssr: false },
],
}
The plugin gives you access to the 0xcert Vue.js client.
const client = this.$0xcert; // 0xcert client
const provider = this.$0xcert.provider; // current provider
Vue.js and Nuxt.js use Webpack for compiling modules. Webpack can sometimes render the source code in a strange way, ignoring code conditions, thus you may encounter the "missing module" error. The fix for this is to set node.{module-name} = 'empty' property in the webpack configuration. The example below shows how you should do this in Nuxt.js:
export default {
build: {
...
extend (config, ctx) {
...
if (ctx.isClient) { config.node = { fs: 'empty' } }
}
}
}
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.1.1Registry latest | 15 Mar 2021 | 13 | |
| 2.1.0 | 14 Jan 2021 | 13 | |
| 2.0.3 | 12 Aug 2020 | 13 | |
| 2.0.2 | 4 May 2020 | 7 | |
| 2.0.1 | 6 Mar 2020 | 7 | |
| 2.0.1-beta0 | 5 Mar 2020 | 7 | |
| 2.0.0 | 2 Mar 2020 | 7 | |
| 2.0.0-beta5 | 22 Feb 2020 | 7 | |
| 2.0.0-beta4 | 19 Feb 2020 | 7 | |
| 2.0.0-beta3 | 5 Feb 2020 | 7 | |
| 2.0.0-beta2 | 30 Jan 2020 | 7 | |
| 2.0.0-beta1 | 20 Jan 2020 | 7 | |
| 2.0.0-beta | 17 Jan 2020 | 7 | |
| 2.0.0-alpha17 | 14 Jan 2020 | 7 | |
| 2.0.0-alpha16 | 13 Jan 2020 | 7 | |
| 2.0.0-alpha15 | 8 Jan 2020 | 7 | |
| 2.0.0-alpha14 | 12 Dec 2019 | 7 | |
| 2.0.0-alpha13 | 6 Dec 2019 | 7 | |
| 2.0.0-alpha12 | 29 Nov 2019 | 7 | |
| 2.0.0-alpha11 | 6 Nov 2019 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b33148136081f09b0f8760405e95b64170814e05b7bd2193263386935f3fc88d