I have deployed your theme on versal but it is not working there.
please help me how to fix this
Hi,
Please provide more details. What is not working, what errors have you got, and which version and framework you have deployed?
Regards.
Please check https://metronic-react-v8-2-5-demo3.vercel.app/
showing only logo and loading
showing this erros in console :
GET https://metronic-react-v8-2-5-demo3.vercel.app/metronic8/react/demo3/splash-screen.css net::ERR_ABORTED 404 (Not Found)Understand this error
metronic-react-v8-2-5-demo3.vercel.app/:14
GET https://metronic-react-v8-2-5-demo3.vercel.app/metronic8/react/demo3/assets/index-56eae3a8.css net::ERR_ABORTED 404 (Not Found)Understand this error
metronic-react-v8-2-5-demo3.vercel.app/:13
GET https://metronic-react-v8-2-5-demo3.vercel.app/metronic8/react/demo3/assets/index-0eb2c16f.js net::ERR_ABORTED 404 (Not Found)
version and framework : metronic-react-v8-2-5-demo3
Please give me solution how to fix this
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: https://vitejs.dev/guide/build#public-base-path.
Also, in official docs you can find detailed instructions on deploying React app to Vercel:
https://vitejs.dev/guide/static-deploy#vercel
Regards,
Lauris Stepanovs,
Keenthemes Support Team