Start here if you already have an exported bundle and are ready to embed it.
How embedding works
The embedding flow is straightforward:
- Export the demo from PokeDemo
- Unzip the bundle
- Install the player package
- Import
@pokedemo/player/style.cssin your app - Host the files on a static host you control
- Point the player at the folder that contains
manifest.json
The key setting is source.baseUrl in the core SDK, or baseUrl in the framework adapters. It should be the URL of the folder that contains the bundle manifest.
For example, if this URL is reachable:
https://example.com/demo/manifest.json
then the correct baseUrl is:
https://example.com/demo/
What this section covers
Read SDK API for package installation, player configuration, and the public integration contract.
Read Framework Notes if you are embedding in React, Vue, Nuxt, or Next.js.
Read Hosting Exported Demos for hosting rules, rewrites, and cross-origin notes.
Client-side only
The player is designed for modern browsers. In SSR frameworks, render it only inside a client-rendered component.