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
Tested on the ts template.
In the build environment all the resource paths were prepended by with a trailing '/' so none of my resources were being loaded, after removing those leading slashes manually the resources loaded correctly, to fix I modified the base option in the config to be either 'dist' or '' (empty string), then it works as well.
Tested on the ts template.
In the build environment all the resource paths were prepended by with a trailing
'/'
so none of my resources were being loaded, after removing those leading slashes manually the resources loaded correctly, to fix I modified thebase
option in the config to be either'dist'
or''
(empty string), then it works as well.Example
vite.config.ts
:Is this issue affecting my setup only or should I provide a PR?
The text was updated successfully, but these errors were encountered: