mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
chore: start using dynamic routes
This commit is contained in:
parent
a9f3ccf099
commit
d273f803be
@ -59,7 +59,7 @@ export async function resolvePagesRoutes (builder, app: NuxtApp) {
|
|||||||
if (/^\[\.{3}/.test(part)) {
|
if (/^\[\.{3}/.test(part)) {
|
||||||
route.path += '(.*)'
|
route.path += '(.*)'
|
||||||
} else if (i === pathParts.length - 1) {
|
} else if (i === pathParts.length - 1) {
|
||||||
route.path += '?'
|
// route.path += '?'
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
route.path += `/${normalizedPart}`
|
route.path += `/${normalizedPart}`
|
||||||
|
Loading…
Reference in New Issue
Block a user