Skip to content

Nuxt 4 New Folder Structure Support? #225

@KidSysco

Description

@KidSysco

Fresh install with latest version of Nuxt and Nuxt UI. Nothing else.

Installed TRPC, followed the docs from Getting Started Section of the TRPC docs.

Everything works perfectly.

Updated the the Nuxt config to use compatibilityVersion: 4.

https://nuxt.com/docs/getting-started/upgrade

Everything works perfectly.

Moved to new Nuxt 4 folder structure, /app/pages folder. TRPC breaks. It now uses the < any > type for params and return types. Will not build.

This code from the Getting Started section of the TRPC-Nuxt docs worked fine, until we moved to the new Nuxt 4 folder structure.

Any plans, thoughts, Ideas? Anyone else have similar issues?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions