Created
July 12, 2019 02:25
-
-
Save tokchin/077e52b2e48acd180d8c774636df76f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<app-item-grid :items="items"></app-item-grid> | |
</div> | |
</template> | |
<script> | |
import ItemGrid from './ItemGrid.vue' | |
import {getMyAssets} from '../js/web3_util.js' | |
export default { | |
name: 'app', | |
data () { | |
return { | |
items: [] | |
} | |
}, | |
mounted: async function(){ | |
this.items = await getMyAssets().then(function(value){return value}) | |
}, | |
components: { | |
appItemGrid: ItemGrid | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment