Vite plugin API for Flows local development. Use this API when customizing your Flows app’s Vite configuration or when you need to understand how the development server integrates with CDF. TheDocumentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
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
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.