Open carlosagsmendes opened 6 years ago
@carlosagsmendes They are in a broken state right now from when I rewrote the build process. I need to revisit this.
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?
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.
My bad, it was a problem with the styles that I've copied from an example that was setting display to 'none'
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!