Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webviz-core add new route failed #756

Open
Niceyaa opened this issue Aug 19, 2022 · 1 comment
Open

webviz-core add new route failed #756

Niceyaa opened this issue Aug 19, 2022 · 1 comment

Comments

@Niceyaa
Copy link

Niceyaa commented Aug 19, 2022

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 (




<Route path="/" render={({ history: routeHistory }) => } />





);
};

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants