I'm having a lot of issues with the server aliases.
Considerations
- My server folder structure:
- server
- api
- middleware
- types
- utils
- Both alias work in all folder except in the middleware folder!
- If i create a folder "server/services" the alias don't work!
My procedures
1. Every change that i tried, after i use:
- npx nuxi prepare
- Restarted TypeScript server (vsc)
- Reload window (vsc)
2. In some cases rebuild the app
- Remove the folders "node_modules", ".nuxt" and the file pnpm-lock.yaml
- After "pnpm install"
My configurations files