-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No tsconfig found in monorepo setup with Nuxt apps and modules #3232
Comments
Hello, try add in ./packages/module/tsconfig.json
|
Great! This works as expected with this. I guess this could be added to the nuxt template. @danielroe, what do you think? |
Looking at this, I think the issue is that
However, this may not be relevant much longer as I am exploring a different approach with the module builder (nuxt/starter#392). |
Ok great news! I tried with |
this saved me, thanx man. |
monorepo-nuxt-volar-issue
Tried with Vue.volar v1.7.8 and v1.6.5 with Takeover mode
Here's the output of
nuxi info
I attended the Nuxt workshop last week at the Vue conference and met @danielroe there. I showed him the issue I have within a monorepo and he suggested that I speak with @johnsoncodehk about this.
Here is a reproducible example->Monorepo-Nuxt-Volar
I have an
apps/
folder and apackages
folder with Nuxt apps and Nuxt modules and usepnpm workspaces
.If you select the file
/packages/module2/module-clone.ts
, it shows in the VS code information bar theNo tsconfig
. It seems pretty random and I haven't figured out what the problem is and would really appreciate your help on this.If you select the
/packages/module2/module.ts
, thetsconfig
file is found in the right folder.Same behaviour for other files like
/packages/module2/runtime/plugin.ts
-> No tsconfig/packages/module2/runtime/AComponent.vue
-> No tsconfigStrangely, all the files within
apps/
have a propertsconfig
match.The text was updated successfully, but these errors were encountered: