Electron app doesn't load when using Tanstack Router
For the moment, I have setup my project with 0 error from anywhere is the code. But when I run the project, the console tells me different:
and the problem is here, at the index.tsx file, at the end of createFileRoute("/") function.
I did follow the project in this link, provided by Tanstack docs in the Webpack installation: https://github.com/TanStack/router/tree/main/examples/react/quickstart-webpack-file-based but still, it doesn't work.
And one more thing: I think I might wrong on this one, but if I use import, instead of require for all the Tanstack built-in components and functions, like <Link/> or here it is the createRootRoute function, then everything will break down, at least for types.
Can anyone spot a problem in my code?
Thanks



