Skip to content

STNeto1/vite-plugin-solid-routes

Repository files navigation

Solid Routes

Vite plugin to offer typesafe internal link component for better usage. Heavy inspired by next-typesafe-url.

Still in development but its a fun plugin if you want to try =D


  • TODO

    • Better options for things like debugging
    • Better options to watch for vite events. Currently using:
      • buildStart
      • handleHotUpdate
  • Weird things

    • with ignoreRootFallback=false
      • / becomes invalid because you will match against any /[...story]
    • with ignoreRootFallback=true
      • /[...story] is ignored in the output, so it's a weird dichotomy
      • This weird edge case is very specific to the hackernews example

About

Generate typesafe link for your Start App

Resources

License

Stars

Watchers

Forks

Packages

No packages published