Team, I have purchased your template another time again. Thank you for everything you do.
I have an issue with the template with vue, most likely lack of knowledge on my part but maybe you can guide me to a solution.
After doing:
npm run build
serve -s .
All I get is the splash image of the page and nothing else run. Can you please help me? I might be missing files on the build or something.
in the folder I have:
assets/
media/
favicon.ico
index.html
splash-screens.css
Verify that all necessary assets (JavaScript files, CSS files, images, etc.) are being correctly referenced and fnf loaded. If there are 404 errors in the console indicating missing files, check your build configuration.
You can check the build output folder for missing files and verify the image path in `splash-screens.css`. Look for JavaScript errors in the Wordle Unlimited browser console and fix them to allow your Vue app to load after the splash screen.
Hi,
Sorry for the delay in reply.
In our Metronic Vite application you can preview production build locally using npm run preview.
Please note, by default, our preview is served under /metronic8/vue/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.
Regards,
Lauris Stepanovs,
Keenthemes Support Team