Nuxt/test/fixtures/basic/pages/tree-shake.vue
Daniel Roe c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00

15 lines
276 B
Vue

<script lang="ts" setup>
// server only
useServerOnlyComposable()
// client only
useClientOnlyComposable()
// can only run client side, should be tree shaken from server build
setTitleToPink()
</script>
<template>
<div>
<h1>Tree Shake Example</h1>
</div>
</template>