fusionOpenPlugin automatically opens your app in the CDF interface during local development.
Prerequisites
- Flows app with Vite development environment
app.jsonconfiguration file with deployment settings
Related guides
- Run your app locally — Complete local development guide
- Get started with Cognite Flows — Project setup and configuration
- Content Security Policy — Production CSP baseline and how to extend it via
manifest.json
fusionOpenPlugin
Opens your app in CDF when the dev server starts.Behavior
When the Vite dev server starts, the plugin:- Reads
app.jsonfrom the current directory - Extracts
org,project, andbaseUrlfrom the first deployment - Opens your browser to the CDF development URL
Generated URL
Requirements
The plugin requires anapp.json file with at least one deployment:
Disabling auto-open
Remove the plugin fromvite.config.ts:
app.json is missing, the plugin skips silently.