Support for nuxt 3.4
hi-reeve opened this issue · 7 comments
hi-reeve commented
i have nested dynamic folder like this /:id/:document
but this leads to wrong typed route
the generated routes is like this
'admin-master-data-vessel-id-document-create': {
id: (string | number)[];
};
and the resolved one is
'admin-master-data-vessel-id-document-create': {
id: string[];
};
where its supposed to be like this
'admin-master-data-vessel-id-document-create': {
id: string | number;
document: string | number;
};
hi-reeve commented
additional info, this happen if we use the latest nuxt 3.4.1
hi-reeve commented
victorgarciaesgi commented
Yeah seems like they made a breaking change on how the paths are generated
victorgarciaesgi commented
Okay yeah related to this nuxt/nuxt#19902
victorgarciaesgi commented
Was tricky but support for nuxt 3.4.x
is available in beta 3.1.4-beta.0
I will test on older nuxt version to see if it's still compatible
hi-reeve commented
any eta this will be move to 3.4.1?
victorgarciaesgi commented
Should be today, working correctly on older versions