We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have some trouble importing constans/enums in my project. My project is scructured like this:
client: vite/vuejs server: back-end
I try to do the import like this:
I get this error:
@shared is defined like this in the tsconfig:
I read I should do something with resolvers but I couldn't get it to work, there also is no documentation for it. Hopefully someone here can help me.
The text was updated successfully, but these errors were encountered:
The alias is supported in vite, but not support one alias reflect multi source.You can take a look with https://github.com/vitejs/vite/blob/master/src/node/config.ts#L67
vite
Sorry, something went wrong.
Duplicate with #88. Maybe #88 (comment) this can help you out.
No branches or pull requests
I have some trouble importing constans/enums in my project. My project is scructured like this:
client: vite/vuejs
server: back-end
I try to do the import like this:
I get this error:
@shared is defined like this in the tsconfig:
I read I should do something with resolvers but I couldn't get it to work, there also is no documentation for it. Hopefully someone here can help me.
The text was updated successfully, but these errors were encountered: