This project uses Vite. It is to provide an example React application connecting to Deephaven and displaying a widget.
To start the Embed Widget server, run npm install
and npm start
in the root directory of this repository. See the Getting Started section for more details.
name
: Required. The name of the widget to load
See the guide for how to set up core in Application Mode: https://deephaven.io/core/docs/how-to-guides/application-mode/
Once Deephaven is running, you can open a widget with a specific name by adding the query param name
, e.g. http://localhost:4010/?name=world
By default, this project assumes you are hosting Deephaven with Python on the default port at http://localhost:10000. If Deephaven is running on a different port/server, update the VITE_CORE_API_URL
environment variable to point to the correct server. See .env file for the default definition, and vite docs for other ways to set this environment variable.