mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-12 00:53:55 +00:00
19 lines
276 B
Vue
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>
|