Closed just-maik closed 1 year ago
Hello! Can't reproduce on my side, can you make a reproduction here please? https://stackblitz.com/edit/github-7e4xvw?file=package.json,store%2FtestRouter.ts
I hope this works, otherwise I can provide a reproduction repo
@just-maik In your repro I have the correct types :/
The intellisense doesn't work so test on the .ts file :)
There's maybe a module that interfere with it, do you use i18n?
Just saw nuxt-typed-router@2.3.5
, install the latest version 3.3.1
Well that fixed my issue... I was so sure I manually updated to the latest version, but my package.json kept 2.3.5 😄
Thanks for the fast response!
Describe the bug When using a directory containing a parameter and another parameter on a deeper level (as shown in the screenshot) typed router generates:
ignoring the second parameter
Expected behavior
Screenshots
Environnement infos
Your
pages
folder structurepages ├── [lang] │ ├── index.vue │ ├── posts │ │ └── [slug].vue │ ├── products │ │ ├── [slug].vue │ │ └── index.vue │ └── reseller.vue └── index.vue