quasar typescript alias path imports work only for interfaces #14994
-
|
Hello, I have a project on quasar version 2.10.0 on typescript version 4.8.4, @quasar/app-webpack version 3.6.2, a project on the backend on nest js and there is a folder called common with data types to use for the frontend and backend. I added my path to tsconfig.json pointing to the common folder and on the frontend if I import enams, classes, variables and use them in the code, then I get the error:
But for some reason there are no problems with import and use the interfaces. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Also set your aliases here https://quasar.dev/quasar-cli-webpack/handling-webpack#adding-webpack-aliases |
Beta Was this translation helpful? Give feedback.
Also set your aliases here https://quasar.dev/quasar-cli-webpack/handling-webpack#adding-webpack-aliases