Skip to content
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

How do I manage the 'tsconfig' file in monorepo? #3

Open
zestlee1106 opened this issue Nov 24, 2023 · 0 comments
Open

How do I manage the 'tsconfig' file in monorepo? #3

zestlee1106 opened this issue Nov 24, 2023 · 0 comments

Comments

@zestlee1106
Copy link

I put the tsconfig.nuxt.json file at the top,
You created tsconfig.json from each package within the pacakages folder.
"extends": "../../tsconfig.nuxt.json",
Import the tsconfig.nuxt.json file in the same way as above.

From a package in the packages folder
If you use a Nuxt function such as defineNuxtPlugin, you get a warning such as Cannot find name 'defineNuxtPlugin'.
How can I define a type in the tsconfig file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant