cruise-automation / webviz

web-based visualization libraries
https://webviz.io/
Apache License 2.0
2.01k stars 408 forks source link

webviz-core add new route failed #756

Open Niceyaa opened 1 year ago

Niceyaa commented 1 year ago

scene:I want to package Webviz-core into Electron application, there is a problem with packaging it in doc form, so I want to package it in Webviz-core, but now there is a problem, I need to add some pages in Webviz-core to make the original webviz-core into a secondary page. However, the method of adding Route fails to recognize it now

now i want to add a new page by Route,but it failed:(in webviz-core -> src -> components -> Root.js) const Root = () => { return (

} />

); };

failed url: http://localhost:8080/Home failed info:Cannot GET /Home

Could you please tell me how to add a new page now? Thank you

jtbandes commented 1 year ago

Check out Foxglove Studio, it is already packaged as an Electron app: https://github.com/foxglove/studio