Nuxt/examples/vuex-store/pages/about.vue
Sébastien Chopin cf24b926a1 Version 0.1.6
- Add example /custom-routes/
- Rename example/with-store/ to examples/vuex-store/
- Feature: Add .vue at the end of the component if not specified in
custom routes
- Feature: Add .params and .query in the context
- Feature: Add .name in route if given in custom routes
2016-11-07 21:38:51 +01:00

9 lines
192 B
Vue

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