Documentation Index
Fetch the complete documentation index at: https://docs.kontext.so/llms.txt
Use this file to discover all available pages before exploring further.
React Demo 项目
看看用我们轻量的 SDK 接入高性能广告有多简单。
环境要求
- React:18.0.0 或更高版本
你需要一个 发布方账号 来获取
publisherToken 与 placement code。安装
安装 npm 包并准备你的应用。
展示第一个广告
用
<AdsProvider> 包裹应用、喂入消息、挂载 <InlineAd>——五分钟完成接入。API 参考
Props、hook、组件与事件。
实践指南
no-fill、切换 character、会话恢复等常见模式。
示例应用
使用你自己的 publisher token 端到端运行 Vite + React 示例。