Topic: Files not found after deploy on netlfiy
I am having issues deploying MDB admin pro on Netlify.
The files are adding 'previews/templates/vue-admin-dashboard/' to the path
For example:
https://notrealdomain.netlify.com/static/js/app.aad5f10abd5e6d07fd86.js (this is found)
https://notrealdomain.netlify.com/previews/templates/vue-admin-dashboard/static/js/app.aad5f10abd5e6d07fd86.js (this is not)
When I deploy locally same thing happens.
Does anyone know why this is happening? And if so why?
Thanks
aido14 answered 5 years ago
aido14 answered 5 years ago
I figured this out, if anyone else is having same issue..
in config/index I changed:
assetsPublicPath: '/previews/templates/vue-admin-dashboard/',
assetsPublicPath: '/',
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 5.8.0
- Device: PC
- Browser: Firefox
- OS: windows
- Provided sample code: No
- Provided link: Yes