mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
29 lines
537 B
Vue
29 lines
537 B
Vue
<template>
|
|
<div>
|
|
ServerWithClient.server.vue :
|
|
<p>count: {{ count }}</p>
|
|
|
|
This component should not be preloaded
|
|
<ComponentWithRef />
|
|
|
|
This is not interactive
|
|
<Counter :multiplier="1" />
|
|
|
|
<div
|
|
class="interactive-component-wrapper"
|
|
style="border: solid 1px red;"
|
|
>
|
|
The component bellow is not a slot but declared as interactive
|
|
|
|
<Counter
|
|
nuxt-client
|
|
:multiplier="1"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const count = ref(0)
|
|
</script>
|