typed-router

Provide autocompletion for pages route names generated by Nuxt router

v1.2.0 by victorgarciaesgivictorgarciaesgi

  • Fixed crashes with nuxt-rc.9

v1.1.0 by victorgarciaesgivictorgarciaesgi

  • Moved useTypedRouter import to outDir folder due to issues with Vite server and global imports of #app and nuxt3
  • Changed doc

v1.0.3 by victorgarciaesgivictorgarciaesgi

  • Fixed plugin registration

v1.0.2 by victorgarciaesgivictorgarciaesgi

  • Fixed a bug with plugin template generation

v1.0.1 by victorgarciaesgivictorgarciaesgi

Complety revamped new version!

  • Typescript rewrite and refacto of the project
  • Updated to support Nuxt 3 (Nuxt 2 still compatible but with nuxt2 branch )
  • 🏎 Provides a hook useTypedRouter that returns an alias of $typedRouter and also a typed list of your routes
  • 🚦 Provides auto-completion and errors for route params in push and replace methods

v0.2.24 by victorgarciaesgivictorgarciaesgi

  • Fixed generated output for complex directory structures

v0.2.14 by victorgarciaesgivictorgarciaesgi

  • Fixed bug with default prettier config

v0.2.13 by victorgarciaesgivictorgarciaesgi

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v0.2.13",
    "tag_name": "0.2.13",
    "date": "2020-12-10T16:54:21Z",
    "body": "",
    "v": 0,
    "url": "https://github.com/victorgarciaesgi/nuxt-typed-router/releases/tag/0.2.13",
    "tarball": "https://api.github.com/repos/victorgarciaesgi/nuxt-typed-router/tarball/0.2.13",
    "zipball": "https://api.github.com/repos/victorgarciaesgi/nuxt-typed-router/zipball/0.2.13",
    "prerelease": false,
    "author": {
      "name": "victorgarciaesgi",
      "url": "https://github.com/victorgarciaesgi",
      "avatar": "https://avatars.githubusercontent.com/u/15092120?v=4"
    }
  },
  "excerpt": false,
  "tag": "div"
}