Replies: 1 comment
-
|
So the problem was between the VPS server manage by Plesk and Vitejs. Also Vite isn't looking for scss files on Components directory, to do so add "scss" to the watchFiles : |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When I do "npm run build" everything is find and the website is showing properly.
When I do "npm start" to develop my website all assets and images are using the URL http://localhost:5173/ instead of my website URL.
The installation is on a remote serveur with an URL pointing to the host. On the vite.config.js I had the wordpressHost, that's working find.
How to make the assets URL working with my website URL with "npm start" like it's working with "npm run build"?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions