Replies: 1 comment
-
I figured out the problem. For some reason the typescript aliases needed to be in the tsconfig.app.json, not in the tsconfig.json. As soon as I moved the baseUrl and paths configs to the tsconfig.app.json it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Vite's path alias functionality but although it apparently works, this ts error keeps popping up and I don't know why. Both path aliases I tried configuring have the same error.
This is how the tsconfig file is:
And this is how the vite config file is:
Beta Was this translation helpful? Give feedback.
All reactions