Synthes
Intellisense error when try to import package
@kapa.ai
I use pathe instead of path, but I still see Intellisense errors for some reason
Cannot find name 'defineNuxtConfig'.
Cannot find name '__dirname'.
But if I add a direct importimport { defineNuxtConfig } from 'nuxt/config';
the errors disappear
But everything should be imported automatically in nuxt, shouldn't it?
15 replies