Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
<h2 class="p-4" v-show="!bcConnected && !bcConnectionError">
<div class="p-4" v-show="bcConnected && !bcConnectionError">
<div v-show="bcConnectionError" class="m-4 alert alert-danger">
<h2 class="pb-4">Error connecting to the blockchain!</h2>
<p v-if="errorConnectionMessage">
<b>{{ errorConnectionMessage }}</b>
<p v-show="bcSmartContractAddressError">
<b>It seems like the address of the smart contract is wrong!</b>
<p>Other common causes of error:</p>
<li>The blockchain is running.</li>
<li>The port in your settings (file: <b>libs/mixinViews.js</b>) match with the blockchain configuration.</li>
<li>The compiled smart contract <b>app-users/src/assets/Users.json</b> is equal to <b>build/Users.json</b>.</li>
// importing common function
import mixin from './libs/mixinViews';
import TopMenu from './components/TopMenu';
export default {
components: { TopMenu },
mixins: [mixin],
name: 'App'
h1.title {
margin-bottom: 50px;
padding-bottom: 10px;
border-bottom: 1px solid #CCC;