We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I would like to try out the new version of the router but I'm not being able to run the examples.
They are in Typescript and I can't find how I'm supposed to transpile it to run them.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
@carlosagsmendes They are in a broken state right now from when I rewrote the build process. I need to revisit this.
Sorry, something went wrong.
Thank you. I tried removing the examples folder exclusion from typescript config and doing a build, but it didn't work.
By the way, we haven't checked your router for a while, and it is impressive how mature and polished it became!
@caseyWebb I've also tried to use some basic code from one of the examples.
Router.useRoutes({ '/': (ctx) => ctx.redirect('/foo'), '/foo': 'foo', '/bar': 'bar' })
Is the router broken or just something missing from the examples?
CodeSandBox example
Thanks again
This really looks like it should work. What is strange is that even trying to manually navigate to /router/foo in that sandbox isn't working.
/router/foo
My bad, it was a problem with the styles that I've copied from an example that was setting display to 'none'
caseyWebb
No branches or pull requests
Hi,
I would like to try out the new version of the router but I'm not being able to run the examples.
They are in Typescript and I can't find how I'm supposed to transpile it to run them.
Thanks in advance!
The text was updated successfully, but these errors were encountered: