-
I'm trying to share a
From the Express application, I can import it with the following:
While this works for backend apps, it does not work for the frontend Vite apps because accessing a path from the client code isn't permitted, which makes sense. I've tried adding the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to get this to work with |
Beta Was this translation helpful? Give feedback.
I was able to get this to work with
vite.config.js
and using a relative path from each frontend app to the.env
path, which is fine.