xrayVitePlugin
xrayVitePlugin(
options?):Plugin<any>[]
Defined in: index.ts:79
Create the Vite plugins that resolve committed Plates and, during dev,
capture new Plates from rendered <Skeleton> boundaries.
Typical setup:
import { xrayVitePlugin } from '@hueest/xray'
export default { plugins: [xrayVitePlugin({ hud: true })],}Returns two plugins:
xray:dataresolvesvirtual:xray/plates/<name>from committed Plate files in dev and build.xray:devruns only duringvite serve; it injects the capture client, receives Captures, writes Plate files, and hot-updates the page.
Parameters
Section titled “Parameters”options?
Section titled “options?”XrayOptions = {}
Returns
Section titled “Returns”Plugin<any>[]