Skip to content

Instantly share code, notes, and snippets.

@johnson86tw
Created December 9, 2021 09:15
Show Gist options
  • Save johnson86tw/73913ea5550c674a5d8d0086a5b40d4f to your computer and use it in GitHub Desktop.
Save johnson86tw/73913ea5550c674a5d8d0086a5b40d4f to your computer and use it in GitHub Desktop.
import HelloWorld from './components/HelloWorld.vue'
import { useBoard, useEthers } from 'vue-dapp'
export default {
name: 'App',
components: {
HelloWorld,
},
setup() {
const { open } = useBoard()
const { address } = useEthers()
return { open, address }
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment