mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
14 lines
306 B
Markdown
14 lines
306 B
Markdown
---
|
|
toc: false
|
|
---
|
|
|
|
# useCookie
|
|
|
|
This example shows how to use the useCookie API to persist small amounts of data that both client and server can use.
|
|
|
|
::ReadMore{link="/docs/api/composables/use-cookie"}
|
|
::
|
|
|
|
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-cookie" file="app.vue"}
|
|
::
|