Skip to content
Discussion options

You must be logged in to vote

logs you see are produced by Vite. Look at what Vite is trying to compile: some backend/Adonis code.
So you are importing Adonis code into your frontend. That means you will bundle your backend with your frontend. I guess this is not what you want.

If you're importing Adonis code into your frontend, I guess it's probably to share some typing. In this case, don't forget to use import type rather than import

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@salman3001
Comment options

@feryardiant
Comment options

Answer selected by PauloPereira87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants