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
It sounds like your build might be missing some crucial assets or configurations. Here are a few steps to troubleshoot geometry dash:
Check Console Errors: Open the browser's developer tools (usually F12 or right-click -> Inspect) and check the console for any errors. This might give you more insight into what's going wrong.
Review vue.config.js: If you have a vue.config.js file, make sure it's configured correctly for production builds.
Verify File Paths: Ensure that all your asset paths in index.html and splash-screens.css are correct and relative to the build output.
Build Logs: Look at the logs from npm run build to see if there were any warnings or errors during the build process.
Update Dependencies: Make sure all your npm dependencies are up to date by running npm update.
Test Locally: Instead of serve -s ., try serving the build folder using a different local server like http-server (npx http-server ./dist) to see if it makes a difference.
If you’re still stuck, you might want to share any error messages you’re seeing, as that could help diagnose the problem further.
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