Skip to content

Commit bd136fd

Browse files
committed
fix: initialise nitro options
resolves #392
1 parent 6ebdec4 commit bd136fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/nitro.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ export async function setupNitroBridge () {
312312
})
313313

314314
// Prerender all non-dynamic page routes when generating app
315+
nuxt.options.nitro = nuxt.options.nitro || {}
315316
if (!nuxt.options.dev && nuxt.options._generate) {
316317
const routes = new Set<string>()
317318
nuxt.hook('build:extendRoutes', (pages) => {

0 commit comments

Comments
 (0)