8000 Problem with route in version 3.7 · Issue #22908 · nuxt/nuxt · GitHub
[go: up one dir, main page]

Skip to content
Problem with route in version 3.7 #22908
@jinwoo-web

Description

@jinwoo-web

Environment

{
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "HOST=0.0.0.0 nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"nuxt": "^3.7.0"
}
}

Reproduction

https://stackblitz.com/edit/github-fkeawa-w7g2ht?file=app.vue

Describe the bug

This issue occurs in version 3.7.
In a structure that uses layout folders and page folders
There is a malfunction in routing.

<template> route: {{ $route }} </template>

image

image
empty value

image
:page-key has no value
Rendering doesn't work.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0