mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +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)) {
|
||||
route.path += '(.*)'
|
||||
} else if (i === pathParts.length - 1) {
|
||||
route.path += '?'
|
||||
// route.path += '?'
|
||||
}
|
||||
} else {
|
||||
route.path += `/${normalizedPart}`
|
||||
|
Loading…
Reference in New Issue
Block a user