fix: headers missing

This commit is contained in:
Robert Soriano
2022-05-23 10:04:06 -07:00
parent 6dcb4ce8a6
commit 77325a6699
5 changed files with 72 additions and 14 deletions

View File

@@ -0,0 +1,19 @@
<script setup lang="ts">
const counter = useCookie('counter')
counter.value = counter.value || Math.round(Math.random() * 1000)
</script>
<template>
<div>
<h1> Counter: {{ counter || '-' }}</h1>
<button @click="counter = null">
reset
</button>
<button @click="counter--">
-
</button>
<button @click="counter++">
+
</button>
</div>
</template>