Nuxt/test/fixtures/ssr/pages/store.vue

4 lines
110 B
Vue

<template>
<Foobar>{{ $store.state[$route.query.onServerInit === '1' ? 'id2': 'id'] }}</Foobar>
</template>