chore: start using dynamic routes

This commit is contained in:
Sébastien Chopin 2020-09-15 18:43:12 +02:00
parent a9f3ccf099
commit d273f803be
1 changed files with 1 additions and 1 deletions

View File

@ -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}`