I have purchased metronic and I want to deploy this project to my server using nginx?
by npm run build, I have made dist and deploy to server using nginx, but i am not able to deploy it,
Can i get some information, how to deploy it?
Hi,
Thank you for reaching out to us.
In the latest Metronic React versions, we've migrated to the React Vite app.
For deployment instructions, check the official Vite documentation: https://vitejs.dev/guide/static-deploy.html#render
Ensure to update the baseUrl
property in vite.config.ts
with the relative path of your server. If you deploy your app to the server's root folder you can simply set this property to /
.
Regards,
Lauris Stepanovs,
Keenthemes Support Team