Created
July 13, 2016 00:47
-
-
Save tiagoeborsanyi/fbb23896c96b3cfd55152070baf6bb56 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
<script> | |
import { incrementInfo } from '../../vuex/actions' | |
console.log(incrementInfo) | |
export default { | |
props: { | |
item: Object | |
}, | |
vuex: { | |
actions: { | |
incrementInfo | |
} | |
} | |
} | |
</script> | |
<template> | |
<div class="row"> | |
<a v-link="{path: '/create/', name: '/' }"><span @click="incrementInfo('texas')" class="glyphicon glyphicon-map-marker margem-marker" aria-hidden="true"></span></a> | |
<span>{{item.adress}} </span> | |
<span class="glyphicon glyphicon-trash margem-trash" aria-hidden="true"></span> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment