Synthes
Synthes
NNuxt
Created by Synthes on 12/20/2024 in #❓・help
Intellisense error when try to import package
@kapa.ai import { defineNuxtConfig } from 'nuxt/config'; For some reason without this import nuxt does not import my config automatically
15 replies
NNuxt
Created by Synthes on 12/20/2024 in #❓・help
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