Nuxt/test/fixtures/basic/pages/store-module.vue
2020-02-04 19:36:22 +01:00

12 lines
187 B
Vue

<template>
<h1>{{ $store.state.simpleModule.mutateMe }}</h1>
</template>
<script>
export default {
middleware ({ store }) {
store.dispatch('simpleModule/mutate')
}
}
</script>