Hello, I'm having problems with the javascript parts and the image parts after the build, how can I get the build properly, most functions do not work properly. There are problems such as images not coming after Build, not redirecting after logging in.
Hi Abdullah,
Thank you for reaching out to us.
It sounds like you have a problem with production build file paths. By default, the theme's base path is set to /metronic8/vue/demo1/. After the production build, all assets will be sought at this location on your server.
If you're deploying your files to a different path, you should update the base
property in the vite.config.ts file with the appropriate path on your server. If you're deploying the theme in the root directory of your server, you can set base
to /
Feel free to ask if you have further questions or need assistance with anything else.
Regards,
Lauris Stepanovs,
Keenthemes Support Team