pantoken / tools/demo/src / ResolveOptions
Interface: ResolveOptions
Options for resolving a demo spec. Only the self provider uses the runner/demos/css fields.
Extended by
Properties
base?
optionalbase?:string
Site base path, e.g. /pantoken/ (default /).
runnerPath?
optionalrunnerPath?:string
Runner page path, relative to base (default play/index.html).
demosPath?
optionaldemosPath?:string
Self-hosted demo-source dir, relative to base (default demos/).
cssUrls?
optionalcssUrls?: readonlystring[]
Stylesheet URLs the runner injects (into its chrome and every rendered result): the component sheets, the multi-theme token sheet, and the plugin/surface sheets. The runner themes by toggling the data-pantoken-theme attribute, so one token sheet covers every theme.