ERROR Pre-transform error: [unimport] failed to find "useUserSession" imported from "#imports"
I just added
srcDir: 'app/'
to my nuxt.config.ts, in the hope to get a faster devserver and now I get
3 Replies
I am stupid
how did you fix? i have the same problem
Use auto-importing (do not import it manually) or import it from somewhere else. Don't import from
#imports
. It could also be, that you imported it in the backend and not in the frontend (nitro and not nuxt).