Thiago R.
Explore posts from serversKPCKevin Powell - Community
•Created by Thiago R. on 9/27/2024 in #os-and-tools
Can't set absolute paths to Vite Project
Hello
I was trying to make sure I could use either typescript
namespace
s and use absolute file paths for import
statements, as this how-to article suggests.
my tsconfig.json
file is as follows:
Also, my vite.config.ts
file is as follows:
However, if I try to use the absolute paths like the following:
For instance, the project is a react/tsx game catalogue. The mentioned files are already committed there.
The editor doesn't recognize it. For instance, I'm using Jetbrains Webstorm.
Has anyone here ever have been through this situation?2 replies