2022-03-30 15:59:28 +00:00
|
|
|
---
|
|
|
|
template: Example
|
|
|
|
---
|
|
|
|
|
2022-04-06 05:56:08 +00:00
|
|
|
# `useCookie`
|
2022-03-30 15:59:28 +00:00
|
|
|
|
2022-04-16 13:53:36 +00:00
|
|
|
This example shows how to use the `useCookie` API to persist small amounts of data that both client and server can use.
|
2022-03-30 15:59:28 +00:00
|
|
|
|
2022-04-06 05:56:08 +00:00
|
|
|
::ReadMore{link="/api/composables/use-cookie"}
|
2022-03-30 15:59:28 +00:00
|
|
|
::
|
|
|
|
|
|
|
|
::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-cookie" file="app.vue"}
|