You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google Chrome Version 122.0.6261.95 (Official Build) (64-bit)
Running in Sail?
No
Description
I have just upgraded from Vite 4 to 5. And have also upgraded the plugin.
I have set the base option to: /frontend/. When we have a look at the hot file that is generated by the url we see the following url: https://vite-issue.test:5173.
When we disable the Laravel Vite plugin, so just using the native implementation from Vite itself the following URL is generated (from: https://vite-issue.test:5173/frontend/@vite/client):
Seeing this, the Laravel Vite plugin should also take into account the base option. So that the url in the hot file is: https://vite-issue.test:5173/frontend/
Vite Plugin Version
1.0.2
Laravel Version
10.42.0
Node Version
20.9.0
NPM Version
10.1.0
Operating System
Windows (WSL)
OS Version
1.2.5.0
Web browser and version
Google Chrome Version 122.0.6261.95 (Official Build) (64-bit)
Running in Sail?
No
Description
I have just upgraded from Vite 4 to 5. And have also upgraded the plugin.
I have set the
base
option to:/frontend/
. When we have a look at the hot file that is generated by the url we see the following url:https://vite-issue.test:5173
.When we disable the Laravel Vite plugin, so just using the native implementation from Vite itself the following URL is generated (from: https://vite-issue.test:5173/frontend/@vite/client):
Seeing this, the Laravel Vite plugin should also take into account the base option. So that the url in the hot file is:
https://vite-issue.test:5173/frontend/
The following config is used in this situation:
Steps To Reproduce
https://vite-issue.test:5173
. Instead ofhttps://vite-issue.test:5173/frontend/
.The text was updated successfully, but these errors were encountered: