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

tsconfig.json path #683

Closed
avxkim opened this issue Mar 13, 2024 · 4 comments
Closed

tsconfig.json path #683

avxkim opened this issue Mar 13, 2024 · 4 comments

Comments

@avxkim
Copy link

avxkim commented Mar 13, 2024

By default, when installing this starter kit, it comes with tsconfig.json (in root directory):

{
  "extends": "./.nuxt/tsconfig.json",
}

But there's no "./.nuxt/tsconfig.json" in the root folder, but there is one in a "playground/.nuxt/tsconfig.json", then shouldn't it have:

{
  "extends": "./playground/.nuxt/tsconfig.json",
}

instead?

Also there's ts error regards import.meta.url, this config fixed it for me:

{
  "compilerOptions": {
    "module": "es2022",
    "moduleResolution": "Node"
  }
}
johannschopplich added a commit to johannschopplich/nuxt-api-party that referenced this issue Mar 15, 2024
@danielroe
Copy link
Member

There will be if you run the ‘dev:prepare’ script. Both issues should disappear at that point

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2024
@avxkim
Copy link
Author

avxkim commented Mar 17, 2024

@danielroe could you document this, please?

@danielroe
Copy link
Member

danielroe commented Mar 17, 2024

I believe the need to run 'dev:prepare’ is already documented. But any improvements are welcome.
IMG_3015

@avxkim
Copy link
Author

avxkim commented Mar 17, 2024

Ah, it's in nuxt documentation, but it's not in a module starter README :)

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

2 participants