mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-12 09:03:53 +00:00
13 lines
314 B
Markdown
13 lines
314 B
Markdown
---
|
|
template: Example
|
|
---
|
|
|
|
# `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="/api/composables/use-cookie"}
|
|
::
|
|
|
|
::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-cookie" file="app.vue"}
|