I'm not sure if I screwed something up, but I was just checking out a basic new project with Vite, added my tailwind configuration, and when I try to import my style file into my root.tsx only when using the alias "~" it shows underlined as an unresolvable file. My styling works fine however.
EDIT: not limited to css files apparently
EDIT2: managed to solve this with by editing the default configuration
// change this
typescript: {
alwaysTryTypes: true,
},
// to this
typescript: {
alwaysTryTypes: true,
project: [__dirname + '/tsconfig.json'],
},