mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
14 lines
275 B
Vue
14 lines
275 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>
|