Nuxt/examples/vuex-store-2/pages/about.vue
2016-12-26 15:55:00 +01:00

9 lines
188 B
Vue

<template>
<div>
<p>
<button @click="$store.commit('increment')">{{ $store.state.counter }}</button><br>
<nuxt-link to="/">Home</nuxt-link>
</p>
</div>
</template>