mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
parent
ba0fae74a7
commit
0b31d93892
@ -44,9 +44,7 @@ export async function createApp (
|
||||
app.routes.push(...(await resolvePagesRoutes(builder, app)))
|
||||
}
|
||||
// TODO: Hook to extend routes
|
||||
if (app.routes.length) {
|
||||
app.templates.routes = serializeRoutes(app.routes)
|
||||
}
|
||||
app.templates.routes = serializeRoutes(app.routes)
|
||||
|
||||
// Fallback app.main
|
||||
if (!app.main && app.routes.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user