Rendering components from when "public path" in webpack is set to different location #504
-
Hello everyone! I'm not sure if this is an Inertia or Vue issue, but see what happens: I've changed a public path in my
in
So, my compiled file structure now is the following:
When I load my page, What can I do? Thanks
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Well, I really hate to provide a solution without having a clear understanding WHY does it work exactly like this, but... here it is in
I tried to remove any of these fixes and it broke the app. I wish someone explained the given behavior. Duplicating a "core" prefix does not seem to be a good practice. |
Beta Was this translation helpful? Give feedback.
Well, I really hate to provide a solution without having a clear understanding WHY does it work exactly like this, but... here it is
in
webpack.mix.js
I tried to remove any of these fixes and it broke the app.
btw, without
mix.setResourceRoot("/core")
scripts and styles were working, but images weren't.I wish someone explained the given be…