Nuxt3 中文课程《实战全栈开发简书》限时优惠
前往学习
v3.17
  • 文档
  • 集成
  • 资源
  • 企业
  • 博客
  • 英文官网
  • 加入社区QQ群
Nuxt on GitHub
  • 开始使用
  • 指南
  • API
  • 示例
  • 社区
  • Hello World
    • Layers
    • Error Handling
    • JSX / TSX
    • Locale
    • Module Extend Pages
    • Teleport
    • Testing
    • useCookie
    • Use Custom Fetch Composable
  1. Docs
  2. Examples
  3. Advanced

useCookie

This example shows how to use the useCookie API to persist small amounts of data that both client and server can use.
阅读更多 Docs > API > Composables > Use Cookie.
Loading Sandbox...
Report an issue or Edit this page on GitHub

Testing

This example shows how to test your Nuxt application.

Use Custom Fetch Composable

This example shows a convenient wrapper for the useFetch composable from nuxt. It allows you to customize the fetch request with default values and user authentication token.

社区

  • Nuxters
  • 团队
  • 设计工具

产品

  • Nuxt UI Pro
  • Nuxt Studio
  • NuxtHub

企业

  • 支持
  • 机构
  • 赞助商

保持最新的新版本和功能,指南和社区更新。

Nuxt on XNuxt on BlueSkyNuxt on LinkedInNuxt on DiscordNuxt on GitHub

ICP备案:沪ICP备2021013479号-10 Copyright © 2016-2025 Nuxt - MIT License