Nuxt/test/fixtures/fetch/pages/old-fetch.vue
2020-03-13 19:20:10 +01:00

19 lines
276 B
Vue

<template>
<div id="old-fetch">
oldFetchData: {{ $store.state.oldFetchData }}
</div>
</template>
<script>
export default {
fetch ({ store, route }) {
store.commit('setOldFetchData', route.name)
},
data () {
return {
team: []
}
}
}
</script>