mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 20:07:16 +00:00
29 lines
536 B
Vue
29 lines
536 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 below 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>
|