nuxt / nuxt

The Intuitive Vue Framework.
https://nuxt.com
MIT License
53.06k stars 4.87k forks source link

In a monorepo (turborepo), Nuxt 3 app doesn't have typing for my ui package #22178

Open Suniron opened 11 months ago

Suniron commented 11 months ago

Environment

Nuxi 3.6.3 11:20:48 PM 11:20:49 PM RootDir: /home/etienne/development/nuxt3-turborepo-template 11:20:49 PM Nuxt project info: 11:20:49 PM


Reproduction

I made a repo to reproduce my problem: https://github.com/Suniron/nuxt3-turborepo-template

Describe the bug

In a monorepo (turborepo), my Nuxt 3 app doesn't have typing for my ui package (@nuxt/kit):

image

Additional context

No response

Logs

No response

so1ve commented 11 months ago

Should it be a volar bug? IMO it should work now

Suniron commented 11 months ago

Yep, it's a problem with recent vue-tsc / volar versions.

I'm using 1.8.1 for both now