mirror of https://github.com/nuxt/nuxt.git
fix(vercel): generate to config/routes.json
This commit is contained in:
parent
2c4b857893
commit
7347e8ebda
|
@ -43,5 +43,5 @@ async function writeRoutes ({ targetDir }) {
|
|||
}
|
||||
]
|
||||
|
||||
await writeFile(resolve(targetDir, 'routes.json'), JSON.stringify(routes, null, 2))
|
||||
await writeFile(resolve(targetDir, 'config/routes.json'), JSON.stringify(routes, null, 2))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue