Nuxt/docs/content/4.examples/3.composables/use-cookie.md

13 lines
324 B
Markdown
Raw Normal View History

---
template: Example
---
# `useCookie`
This example shows how to use the `useCookie` API to persist small amounts of data that both client-side and server-side can use.
::ReadMore{link="/api/composables/use-cookie"}
::
::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-cookie" file="app.vue"}