typedPages not providing types

I've added the following to my nuxt config:
experimental: {
typedPages: true,
},
experimental: {
typedPages: true,
},
And I've tried both explicitly stating the page (screenshot) as well as not, and am not getting type information within the useRoute composable. This is in reference to https://nuxt.com/blog/v3-5#fully-typed-pages.
No description
2 Replies
kingtimm
kingtimm8mo ago
Have you done a ‘nuxi prepare’ to generate the types? Sometimes that step helps jumpstart things for me
pyplacca
pyplacca8mo ago
Seems you’re using useRoute wrongly. Did you mean to use useRouter/navigateTo?
Want results from more Discord servers?
Add your server