You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Router basename="/main"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything. warning
#29
Open
piszczu4 opened this issue
Dec 15, 2024
· 0 comments
import { createElectronRouter } from 'electron-router-dom'
export const { Router, registerRoute } = createElectronRouter({
port: 5123,
types: {
/**
* The ids of the windows of your application, think of these ids as the basenames of the routes
* this new way will allow your editor's intelisense to help you know which ids are available to use
* both in the main and renderer process
*/
ids: ['main'],
},
})
I've got error when trying to run it like below:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: