getting 404 error on vercel
i try to reload any page but getting 404 error and properly work in localhost
vercel link :
version : metronic-react-v8-2-5-demo3
Replies (1)
Hi,
Thank you for reaching out to us.
It seems like you didn't change the base path in the Vite config. By default, our previews are served under /metronic8/react/demo1/, when you deploy Metronic on your server, you should update base property up to the path on your server in file vite.config.js. If you do not have a nested folder on your server then you can set base path to /.
You can read more about this property in the official documentation:
Also, in official docs you can find detailed instructions on deploying React app to Vercel:
Regards,
Lauris Stepanovs,
Keenthemes Support Team