Overriding ASSET_URL for certain assets like Vite #50424
Unanswered
sts-ryan-holton
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm building two Laravel applications. One is exclusively a backend containing various images in my public directory, the other (and potentially more) is the front-end blog, the front-end needs to pull assets from the other project, so setting
ASSET_URL
to the other Laravel project works, except now my front-end assets (CSS & JS from Vite)for this project are also pulling from there which I don't want.Basically, how do I:
Using
asset()
as a helper I feel is conventional, but somehow need to override it for Vite css and js etc.Beta Was this translation helpful? Give feedback.
All reactions